docs: @Override
      public void actionPerformed(ActionEvent e) {
          String cmd = e.getActionCommand();
          if (cmd.equals("Cancel")) {
              setVisible(false);
              value = null;
          } else if (cmd.equals("Select")) {
              value = list.getSelectedValue();
              setVisible(false);
              swingGui.showFileWindow(value, -1);
          }
      }