Mercurial > hg > RemoteEditor > REPSessionManager
view test/TestGUI.java @ 5:91a33a634fef
*** empty log message ***
author | pin |
---|---|
date | Thu, 18 Oct 2007 13:27:06 +0900 |
parents | |
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); } }