public class IdeClipboard
extends java.lang.Object
Windows gets WINDOW_ACTIVATED event. It means that if some other application modifies the contents of the system clipboard in the background then the change won't be propagated to us immediately. The other drawback is that if an extension code bypasses IDE clipboard and accesses the system clipboard directly then we don't see these changes.| Modifier and Type | Method and Description | 
|---|---|
static java.awt.datatransfer.Clipboard | 
getClipboard()
Returns IDE clipboard. 
 | 
public static java.awt.datatransfer.Clipboard getClipboard()
                                                    throws java.awt.HeadlessException
Toolkit.getDefaultToolkit().getSystemClipboard()) directly.java.awt.HeadlessException - when invoked in headless mode (i.e., when GraphicsEnvironment.isHeadless() returns true).