Mercurial > hg > RemoteEditor > REPSessionManager
changeset 195:63f36334e8dc
*** empty log message ***
author | pin |
---|---|
date | Fri, 29 Aug 2008 21:19:14 +0900 |
parents | be219ba8b39c |
children | b85525d83b46 |
files | rep/Editor.java rep/RPanel.java rep/SessionManagerGUI.java |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/Editor.java Fri Aug 29 20:25:46 2008 +0900 +++ b/rep/Editor.java Fri Aug 29 21:19:14 2008 +0900 @@ -91,7 +91,7 @@ } private void setHostAndPort(REPSocketChannel<REPCommand> myChannel2) { - host = myChannel2.socket().getRemoteSocketAddress().toString(); + //host = myChannel2.socket().getRemoteSocketAddress().toString(); }
--- a/rep/RPanel.java Fri Aug 29 20:25:46 2008 +0900 +++ b/rep/RPanel.java Fri Aug 29 21:19:14 2008 +0900 @@ -133,7 +133,7 @@ } public void setTableEditor(int eid, REPSocketChannel<REPCommand> channel) { - + System.out.println("RPanel.setTableEditor()"); EditorPlus<REPCommand> ep = new EditorPlus<REPCommand>(eid, channel); e_list.add(ep); Vector<String> editor = new Vector<String>(); @@ -182,7 +182,7 @@ } protected void setTableEditor() { - e_tableModel = new DefaultTableModel(editor_column, 0); + //e_tableModel = new DefaultTableModel(editor_column, 0); for(Editor editor : editorList){ setTableEditor(editor.getEID(), editor.getChannel()); }
--- a/rep/SessionManagerGUI.java Fri Aug 29 20:25:46 2008 +0900 +++ b/rep/SessionManagerGUI.java Fri Aug 29 21:19:14 2008 +0900 @@ -19,6 +19,7 @@ public SessionManagerGUI(SessionManager manager) { this.manager = manager; + rp = new RPanel(manager); } public SessionManagerGUI() { @@ -33,7 +34,6 @@ frame = new JFrame("SessionManager"); frame.setBounds(100, 100, 600, 300); //rp = new ConnectionPanel(); - rp = new RPanel(manager); Container cont = frame.getContentPane(); cont.add(rp); @@ -59,7 +59,7 @@ public void setComboEditor(int eid, REPSocketChannel channel) { rp.setComboEditor(eid, channel); - rp.setTableEditor(eid, channel); + //rp.setTableEditor(eid, channel); } public void addREPActionListener(REPActionListener<REPCommand> listener) { @@ -68,7 +68,7 @@ public void setComboSession(int sessionID, String string) { rp.setComboSession(sessionID, string); - rp.setTableSession(sessionID, string); + //rp.setTableSession(sessionID, string); } public void update() {