changeset 55:57a16534ba5a

change window size add setTableEditor() and setTableSession
author chiaki
date Tue, 13 Nov 2007 20:44:21 +0900
parents ece6aaddfec4
children 6ead43b2475e
files rep/SessionManagerGUI.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rep/SessionManagerGUI.java	Tue Nov 13 20:42:43 2007 +0900
+++ b/rep/SessionManagerGUI.java	Tue Nov 13 20:44:21 2007 +0900
@@ -24,7 +24,7 @@
 
 	public void run() {
 		frame = new JFrame("SessionManager");
-		frame.setBounds(100, 100, 400, 300);
+		frame.setBounds(100, 100, 600, 300);
 		//rp =  new ConnectionPanel();
 		rp = new RPanel();
 		Container cont = frame.getContentPane();
@@ -53,6 +53,7 @@
 	public void setComboEditor(int eid, SocketChannel channel) {
 		// TODO Auto-generated method stub
 		rp.setComboEditor(eid, channel);
+		rp.setTableEditor(eid, channel);
 	}
 
 	public void addREPActionListener(REPActionListener listener) {
@@ -63,5 +64,6 @@
 	public void setComboSession(int sessionID, String string) {
 		// TODO Auto-generated method stub
 		rp.setComboSession(sessionID, string);
+		rp.setTableSession(sessionID, string);
 	}
 }
\ No newline at end of file