Mercurial > hg > RemoteEditor > REPSessionManager
view test/TestGUI.java @ 240:168dd841be51 iterator-bug-fig **INVALID**
selected key Interator fix.
author | kono |
---|---|
date | Sun, 31 Aug 2008 20:39:06 +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); } }