Пример #1
0
 private void btnMessageWaehlenClicked() {
   int selectedRow[] = _tblMessages.getSelectedRows();
   if (selectedRow.length != 0) {
     String title = (String) _tblMessages.getValueAt(selectedRow[0], 0);
     String message = (String) _tblMessages.getValueAt(selectedRow[0], 1);
     _ctrl.selectedMessage(new DTOMessage(title, message, null, ""));
   }
 }
Пример #2
0
 private void btnCancelClicked() {
   _ctrl.cancelButton();
 }
Пример #3
0
 private void setTableModel() {
   _tblMessages.setModel(_ctrl.getMessageModel());
 }