예제 #1
0
 @Override
 public void actionPerformed(ActionEvent e) {
   if (e.getActionCommand() != null
       && e.getActionCommand().equalsIgnoreCase("log out")) { // $NON-NLS-1$
     Application.getInstance().doLogout();
   }
   if (e.getSource() == viewUpdateTimer) {
     updateTicketView();
   } else {
     ticketPanel.removeAll();
     updateTicketView();
   }
 }
예제 #2
0
 public synchronized void cleanup() {
   viewUpdateTimer.stop();
   ticketPanel.removeAll();
 }