code: public static SeerClickableLabelAction createOpenFileAction(final String path) {
          return () -> {
              File file = new File(path);
              try {
                  Desktop desktop = Desktop.isDesktopSupported() ? Desktop.getDesktop() : null;
                  if (desktop != null && desktop.isSupported(Action.OPEN))
                      Desktop.getDesktop().open(file);
              }
              catch (IOException | RuntimeException e) {
                  // ignored
              }
          };
      }
docs: Utility method to create an action that opened a given file.
  @param path path to the file
  @return corresponding action