equal
deleted
inserted
replaced
2211 * This method uses {@link #getPrintable} to render document content. |
2211 * This method uses {@link #getPrintable} to render document content. |
2212 * |
2212 * |
2213 * <p> |
2213 * <p> |
2214 * This method is thread-safe, although most Swing methods are not. Please |
2214 * This method is thread-safe, although most Swing methods are not. Please |
2215 * see <A |
2215 * see <A |
2216 * HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html"> |
2216 * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> |
2217 * How to Use Threads</A> for more information. |
2217 * Concurrency in Swing</A> for more information. |
2218 * |
2218 * |
2219 * <p> |
2219 * <p> |
2220 * <b>Sample Usage</b>. This code snippet shows a cross-platform print |
2220 * <b>Sample Usage</b>. This code snippet shows a cross-platform print |
2221 * dialog and then prints the {@code JTextComponent} in <i>interactive</i> mode |
2221 * dialog and then prints the {@code JTextComponent} in <i>interactive</i> mode |
2222 * unless the user cancels the dialog: |
2222 * unless the user cancels the dialog: |
2469 * same. See {@link java.awt.print.PageFormat#getImageableWidth}. |
2469 * same. See {@link java.awt.print.PageFormat#getImageableWidth}. |
2470 * |
2470 * |
2471 * <p> |
2471 * <p> |
2472 * This method is thread-safe, although most Swing methods are not. Please |
2472 * This method is thread-safe, although most Swing methods are not. Please |
2473 * see <A |
2473 * see <A |
2474 * HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html"> |
2474 * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> |
2475 * How to Use Threads</A> for more information. |
2475 * Concurrency in Swing</A> for more information. |
2476 * |
2476 * |
2477 * <p> |
2477 * <p> |
2478 * The returned {@code Printable} can be printed on any thread. |
2478 * The returned {@code Printable} can be printed on any thread. |
2479 * |
2479 * |
2480 * <p> |
2480 * <p> |