Example #1
0
 private void Save_ExitActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_Save_ExitActionPerformed
   MY_NAME = name_text.getText().trim();
   if (MY_NAME != null) {
     xchat.my_name = MY_NAME;
     xchat.change_name();
   }
   xchat.setChatTheme(bg_color);
   xchat.setChatFont(font);
   xchat.setFontColor(font_color);
   if (path_save_download != null) {
     xchat.setDownloadPath(path_save_download);
   }
   if (path_save_chat != null) {
     xchat.setBackupPath(path_save_chat);
   }
   xchat.notification = notification;
   this.dispose();
   if (imgsrc != null) {
     xchat.sendImage(imgsrc);
   }
 } // GEN-LAST:event_Save_ExitActionPerformed
Example #2
0
 private void backup_chat_buttonActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_backup_chat_buttonActionPerformed
   xchat.backup();
 } // GEN-LAST:event_backup_chat_buttonActionPerformed