Mercurial > hg > RemoteEditor > REPSessionManager
comparison rep/gui/RPanel.java @ 387:6f356d160e58
IPv6 any address
author | one@firefly.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 10 Nov 2008 22:21:52 +0900 |
parents | 4b87f89b3afd |
children |
comparison
equal
deleted
inserted
replaced
386:bba62c4ac323 | 387:6f356d160e58 |
---|---|
104 host = textField.getText(); | 104 host = textField.getText(); |
105 listener.buttonPressed(new ConnectButtonEvent(host)); | 105 listener.buttonPressed(new ConnectButtonEvent(host)); |
106 | 106 |
107 }else if(event.getSource() == selectButton){ | 107 }else if(event.getSource() == selectButton){ |
108 //System.out.println("RPanel.actionPerformed() : editorSelectedRow = " + editor_table.getSelectedRow()); | 108 //System.out.println("RPanel.actionPerformed() : editorSelectedRow = " + editor_table.getSelectedRow()); |
109 int selectedSession = session_table.getSelectedRow(); | |
110 if (selectedSession<0) return; // no sessin is selected | |
111 int selectedEditor = editor_table.getSelectedRow(); | |
109 listener.buttonPressed( | 112 listener.buttonPressed( |
110 new SelectButtonEvent(editorList.get(editor_table.getSelectedRow()), | 113 new SelectButtonEvent(editorList.get(selectedEditor), |
111 sessionList.get(session_table.getSelectedRow()))); | 114 sessionList.get(selectedSession))); |
112 }else if(event.getSource() == closeButton){ | 115 }else if(event.getSource() == closeButton){ |
113 listener.buttonPressed(new CloseButtonEvent(sessionList.get(session_table.getSelectedRow()), listener)); | 116 listener.buttonPressed(new CloseButtonEvent(sessionList.get(session_table.getSelectedRow()), listener)); |
114 } | 117 } |
115 } | 118 } |
116 | 119 |