Java Q&A
by Cliff Berg

Example 1:
(a)
PrivilegeManager.enablePrivilege("UniversalSystemClipboardAccess");

(b)
Clipboard clipboard = getToolkit().getSystemClipboard();
Transferable transferable = clipboard.getContents(this);


Example 2:

(a)
PrivilegeManager.enablePrivilege("UniversalPrintJobAccess");

(b)
java.util.Properties p = new java.util.Properties();
PrintJob printJob = getToolkit().getPrintJob(parent, "Clipboard", p);



1


