Esempio n. 1
0
 private void barreInputKeyPressed(
     java.awt.event.KeyEvent evt) { // GEN-FIRST:event_barreInputKeyPressed
   if (evt.getKeyCode() == KeyEvent.VK_ENTER && !barreInput.getText().equals("")) {
     CitysidesClient.envoyerText(barreInput.getText());
     barreInput.setText(null);
   }
 } // GEN-LAST:event_barreInputKeyPressed
Esempio n. 2
0
 private void formWindowClosing(
     java.awt.event.WindowEvent evt) { // GEN-FIRST:event_formWindowClosing
   CitysidesClient.setExiting(true);
   CitysidesClient.getClient().stop();
 } // GEN-LAST:event_formWindowClosing