    //@include lib_Class.js

    /**
     * Clipboard utilities
     *
     * @author MW, ELO Digital Office GmbH
     * @version 1.0
     *
     * @elojc
     */

    sol.define("sol.common.jc.ClipboardUtils", {

      singleton: true,

      /**
       * Get text from clipboard
       * @return {String} text
       */
      getText: function () {
        var text = "";
        try {
          text = java.awt.Toolkit.defaultToolkit.systemClipboard.getData(java.awt.datatransfer.DataFlavor.stringFlavor);
        } catch (ignore) {
        }
        return text;
      },

      /**
       * Sets a clipboard text
       * @param {String} text
       */
      setText: function (text) {
        java.awt.Toolkit.defaultToolkit.systemClipboard.setContents(new java.awt.datatransfer.StringSelection(text), null);
      }
    });