private void enterRoom()
	{
		try {
			int row = JRoomTable.getSelectedRow();
			int roomid = Integer.parseInt((String)JRoomTable.getValueAt(row, 0));
			String roomname=(String)JRoomTable.getValueAt(row, 1);
			
			ChatRoom chat=new ChatRoom(roomid,roomname,UserSetting.username,new Socket(UserSetting.serverip,UserSetting.port));
			chat.start();
			t.send("[ROOM]");
			t.send("[USER]");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}