Mercurial > hg > RemoteEditor > REPSessionManager
view test/TestGUI.java @ 115:b5062811066c
*** empty log message ***
author | pin |
---|---|
date | Sun, 23 Dec 2007 15:27:58 +0900 |
parents | 91a33a634fef |
children | 01062be677e9 |
line wrap: on
line source
package test; import java.awt.Container; import java.awt.LayoutManager; import javax.swing.JFrame; import rep.ConnectToSessionManager; import rep.ConnectionListener; import rep.RPanel; import rep.gui.ConnectionPanel; public class TestGUI { private static JFrame frame; private static ConnectionPanel cp; private static ConnectionListener listener; public TestGUI() { // TODO Auto-generated constructor stub } public static void main(String[] args){ frame = new JFrame("SessionManager"); frame.setBounds(100, 100, 400, 100); cp = new ConnectionPanel(listener); Container cont = frame.getContentPane(); cont.add(cp); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } }