addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
// send disconnect event to server
Client clt = new Client(null, _nickname, _myClientID);
_eventDisconnect.fireEvent(new DisconnectClientEvent(this, clt));
}
});
init_look();
getContentPane().setBackground(SystemColor.activeCaption);
getContentPane().setLayout(new BorderLayout(0, 0));