//System.err.println(msg);
ClientConnection connection = ChatroomClient.getClient().getConnection();
if (chatPane.isPrivate()) {
connection.sendPrivateMessage(getName(), ChatroomClient.getClient().getUserName(), chatPane.getRecipient(), msg);
} else {
connection.sendGroupMessage(getName(), ChatroomClient.getClient().getUserName(), msg);
}
chatPane.clearAll();
}
public RoomPane(String roomname, boolean isPrivateRoom, boolean isLobbyRoom) {