JVM Languages
jqa1197.txt
Associated article: How Do I Print in Java?
Tags: JVM Languages
Published source code accompanying the column by Cliff Berg in which he shows how to make the most of the JDK 1.1's printing facilities it provides. Also see JQA1197.ZIP.
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();
...


