public void setApproveAction(Action action) {
    actionApproveDelegate = action;
    actionApproveButton.setAction(actionApproveDelegate);
    actionApproveButton.setName("VfsBrowser.open");
    actionApproveButton.setText(String.format("%s [Ctrl+Enter]", actionApproveDelegate.getValue(Action.NAME)));
    if (targetFileSelected) {
      actionApproveDelegate.actionPerformed(
        // TODO:  Does actionResult provide an ID for 2nd param here,
        // or should use a Random number?
        new ActionEvent(action, (int) new Date().getTime(), "SELECTED_FILE"));
    }
  }
Caller responsible for ensuring called from EDT.
We purposefully do not update UI other than indirectly reflecting
the selection.
Current use case is that we are finished with the browser window.
olv-vfs/src/main/java/pl/otros/vfs/browser/VfsBrowser.java