public boolean clipBoardHasString() {

    Clipboard clip = Toolkit.getDefaultToolkit().getSystemClipboard();
    Transferable t = clip.getContents(this);
    try {
      String s = (String) t.getTransferData(DataFlavor.stringFlavor);
      if (s != null) {
        return true;
      }
    } catch (Exception e) {
      MesquiteMessage.printStackTrace(e);
    }
    return false;
  }