@Override
    protected void doOKAction() {
      StringBuilder sb = new StringBuilder();
      GraphicsDevice[] devices = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();
      append(sb, "number of devices", Integer.toString(devices.length));
      for (GraphicsDevice device : devices) {
        append(sb.append("\n"), device);
      }
      LOG.warn(sb.toString());
      CopyPasteManager.getInstance().setContents(new StringSelection(sb.toString()));
      super.doOKAction();
    }
@Override
    protected void doOKAction()