@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(); } }
public synchronized void cleanup() { viewUpdateTimer.stop(); ticketPanel.removeAll(); }