@Override public void actionPerformed(final ActionEvent e) { if (e.getSource() == show) { feedbackDialogProvider.displayOrRequestFocus(); } eventBus.publishAsync(new StatusBarComponentRemovedEvent(this)); }
@Override public void mouseReleased(final MouseEvent e) { if (e.getButton() == 1) { feedbackDialogProvider.displayOrRequestFocus(); eventBus.publishAsync(new StatusBarComponentRemovedEvent(this)); } checkMouseEvent(e); }