Lines Matching refs:JTextComponent
62 import javax.swing.text.JTextComponent;
74 * An implementation of {@code Printable} to print {@code JTextComponent} with
79 * javax.swing.text.JTextComponent only.
83 * The implementation creates a new {@code JTextComponent} ({@code printShell})
85 * rendering-affecting properties from the original {@code JTextComponent}.
108 private final JTextComponent textComponentToPrint;
119 private final JTextComponent printShell;
152 * @param textComponent {@code JTextComponent} to print
157 public static Printable getPrintable(final JTextComponent textComponent,
273 * Constructs {@code TextComponentPrintable} to print {@code JTextComponent}
276 * @param textComponent {@code JTextComponent} to print
280 private TextComponentPrintable(JTextComponent textComponent,
303 * @param textComponent {@code JTextComponent} to create a
307 private JTextComponent createPrintShell(final JTextComponent textComponent) {
311 FutureTask<JTextComponent> futureCreateShell =
312 new FutureTask<JTextComponent>(
313 new Callable<JTextComponent>() {
314 public JTextComponent call() throws Exception {
335 private JTextComponent createPrintShellOnEDT(final JTextComponent textComponent) {
338 JTextComponent ret = null;