void () { ActionEvent event = new ActionEvent(myComponent, ActionEvent.ACTION_PERFORMED, "action"); for (ActionListener listener: myBrowseButton.getActionListeners()) listener.actionPerformed(event); }