Mercurial > hg > RemoteEditor > REPSessionManager
view test/TestGUI.java @ 169:2974db051dd8
*** empty log message ***
author | pin |
---|---|
date | Thu, 28 Aug 2008 18:56:46 +0900 |
parents | 01062be677e9 |
children | a187180e0106 |
line wrap: on
line source
package test; import java.awt.Container; import java.awt.LayoutManager; import javax.swing.JFrame; 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); } }