comparison test/TestGUI.java @ 320:83790b8b8174

*** empty log message ***
author kono
date Fri, 10 Oct 2008 14:10:15 +0900
parents a187180e0106
children
comparison
equal deleted inserted replaced
319:dfed28488274 320:83790b8b8174
1 package test; 1 package test;
2 2
3 import java.awt.Container; 3 import java.awt.Container;
4 import javax.swing.JFrame; 4 import javax.swing.JFrame;
5 5
6 import rep.ConnectionListener;
7 import rep.gui.ConnectionPanel;
8 6
9 public class TestGUI { 7 public class TestGUI {
10 8
11 private static JFrame frame; 9 private static JFrame frame;
12 private static ConnectionPanel cp; 10 private static ConnectionPanel cp;
13 private static ConnectionListener listener; 11 //private static ConnectionListener listener;
14 12
15 public TestGUI() { 13 public TestGUI() {
16 // TODO Auto-generated constructor stub
17 } 14 }
18 15
19 public static void main(String[] args){ 16 public static void main(String[] args){
20 frame = new JFrame("SessionManager"); 17 frame = new JFrame("SessionManager");
21 frame.setBounds(100, 100, 400, 100); 18 frame.setBounds(100, 100, 400, 100);
22 cp = new ConnectionPanel(listener); 19 cp = new ConnectionPanel();
23 Container cont = frame.getContentPane(); 20 Container cont = frame.getContentPane();
24 cont.add(cp); 21 cont.add(cp);
25 22
26 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 23 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
27 frame.setVisible(true); 24 frame.setVisible(true);