# HG changeset patch # User pin # Date 1219984549 -32400 # Node ID e5a7aad3fbc0496e021ccefb257be01996cf7ab1 # Parent 3a2c6c2f9761b1c96f38ec7deaa222aa22aa27ef *** empty log message *** diff -r 3a2c6c2f9761 -r e5a7aad3fbc0 rep/SessionManager.java --- a/rep/SessionManager.java Fri Aug 29 13:30:46 2008 +0900 +++ b/rep/SessionManager.java Fri Aug 29 13:35:49 2008 +0900 @@ -57,7 +57,7 @@ static final int DEFAULT_PORT = 8766; public SessionManager(int port) { - gui = new SessionManagerGUI(); + gui = new SessionManagerGUI(this); } public void openSelector() throws IOException{ @@ -159,7 +159,8 @@ editorList.add(editor); //GUIに反映 - gui.setComboEditor(editor.getEID(), channel); + //gui.setComboEditor(editor.getEID(), channel); + gui.update(); } diff -r 3a2c6c2f9761 -r e5a7aad3fbc0 rep/SessionManagerGUI.java --- a/rep/SessionManagerGUI.java Fri Aug 29 13:30:46 2008 +0900 +++ b/rep/SessionManagerGUI.java Fri Aug 29 13:35:49 2008 +0900 @@ -6,12 +6,23 @@ public class SessionManagerGUI implements Runnable{ + + private SessionManager manager; + public static void main(String[] args) { SessionManagerGUI gui = new SessionManagerGUI(); Thread th = new Thread( gui ); th.start(); } + public SessionManagerGUI(SessionManager manager) { + this.manager = manager; + } + + public SessionManagerGUI() { + // TODO Auto-generated constructor stub + } + private RPanel rp; //private ConnectionPanel rp; private JFrame frame;