/** * Returns the singleton instance of this class, lazily creating it if * necessary.<p> * * This method should only be called on the EDT. * * @return The singleton instance of this class. */ public static ClipboardHistory get() { if (instance==null) { instance = new ClipboardHistory(); } return instance; }
/** * Returns the singleton instance of this class, lazily creating it if * necessary.<p> * * This method should only be called on the EDT. * * @return The singleton instance of this class. */ public static ClipboardHistory get() { if (instance==null) { instance = new ClipboardHistory(); } return instance; }