/dports/math/scilab/scilab-6.1.1/scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/ |
H A D | HelpOnTypingManager.java | 120 ScilabEditorPane textPane = ScilabEditorPane.getFocusedPane(); in keyTyped() local 121 ScilabDocument doc = (ScilabDocument) textPane.getDocument(); in keyTyped() 122 …if (isActive() && c != KeyEvent.CHAR_UNDEFINED && textPane.getSelectionStart() == textPane.getSele… in keyTyped() 123 int pos = textPane.getCaretPosition(); in keyTyped() 131 KeywordEvent kwe = textPane.getKeywordEvent(pos); in keyTyped() 155 textPane.setCaretPosition(pos + 1); in keyTyped() 163 textPane.setCaretPosition(pos + 1); in keyTyped() 184 if (complete(')', textPane, doc, pos)) { in keyTyped() 191 if (complete(']', textPane, doc, pos)) { in keyTyped() 198 if (complete('}', textPane, doc, pos)) { in keyTyped() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/client/gui/ |
H A D | KTextEdit.java | 81 JTextPane textPane; field in KTextEdit 155 textPane = new JTextPane(); in buildGUI() 157 textPane.setEditable(false); in buildGUI() 158 textPane.setAutoscrolls(true); in buildGUI() 161 Caret caret = textPane.getCaret(); in buildGUI() 170 initStylesForTextPane(textPane, textPane.getFont().getSize()); in buildGUI() 223 s = textPane.getStyle("bold"); in initStylesForTextPane() 232 s = textPane.getStyle("header"); in initStylesForTextPane() 288 textPane.getStyle("header")); in insertHeader() 415 textPane.setText(""); in clear() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/editbox/ |
H A D | SwingScilabEditBox.java | 170 textPane = new JTextPane(); 278 textPane.setText(null); 301 textPane.setText(text); 309 textPane.setText(null); 323 textPane.setEnabled(status); 485 if (textPane != null) { 486 textPane.setFont(font); 628 setViewportView(textPane); 631 noWrapPanel.add(textPane); 636 return textPane.getText(); [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/text/Caret/ |
H A D | TestCaretPositionJTextPane.java | 49 private static JTextPane textPane; field in TestCaretPositionJTextPane 55 textPane = new JTextPane(); in createUI() 56 textPane.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12)); in createUI() 58 fillTextPane(textPane); in createUI() 60 textPane.addMouseListener(new MouseListener() { in createUI() 67 Caret caret = textPane.getCaret(); in createUI() 87 f.add(new JScrollPane(textPane), BorderLayout.CENTER); in createUI() 100 Point p = textPane.getLocationOnScreen(); in main() 112 private static void fillTextPane(JTextPane textPane) { in fillTextPane() argument 125 textPane.setText(buf.toString()); in fillTextPane() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/javax/swing/text/Caret/ |
H A D | TestCaretPositionJTextPane.java | 49 private static JTextPane textPane; field in TestCaretPositionJTextPane 55 textPane = new JTextPane(); in createUI() 56 textPane.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12)); in createUI() 58 fillTextPane(textPane); in createUI() 60 textPane.addMouseListener(new MouseListener() { in createUI() 67 Caret caret = textPane.getCaret(); in createUI() 87 f.add(new JScrollPane(textPane), BorderLayout.CENTER); in createUI() 100 Point p = textPane.getLocationOnScreen(); in main() 112 private static void fillTextPane(JTextPane textPane) { in fillTextPane() argument 125 textPane.setText(buf.toString()); in fillTextPane() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/text/Caret/ |
H A D | TestCaretPositionJTextPane.java | 49 private static JTextPane textPane; field in TestCaretPositionJTextPane 55 textPane = new JTextPane(); in createUI() 56 textPane.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12)); in createUI() 58 fillTextPane(textPane); in createUI() 60 textPane.addMouseListener(new MouseListener() { in createUI() 67 Caret caret = textPane.getCaret(); in createUI() 87 f.add(new JScrollPane(textPane), BorderLayout.CENTER); in createUI() 100 Point p = textPane.getLocationOnScreen(); in main() 112 private static void fillTextPane(JTextPane textPane) { in fillTextPane() argument 125 textPane.setText(buf.toString()); in fillTextPane() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/javax/swing/text/Caret/ |
H A D | TestCaretPositionJTextPane.java | 49 private static JTextPane textPane; field in TestCaretPositionJTextPane 55 textPane = new JTextPane(); in createUI() 56 textPane.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12)); in createUI() 58 fillTextPane(textPane); in createUI() 60 textPane.addMouseListener(new MouseListener() { in createUI() 67 Caret caret = textPane.getCaret(); in createUI() 87 f.add(new JScrollPane(textPane), BorderLayout.CENTER); in createUI() 100 Point p = textPane.getLocationOnScreen(); in main() 112 private static void fillTextPane(JTextPane textPane) { in fillTextPane() argument 125 textPane.setText(buf.toString()); in fillTextPane() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/javax/swing/text/Caret/ |
H A D | TestCaretPositionJTextPane.java | 49 private static JTextPane textPane; field in TestCaretPositionJTextPane 55 textPane = new JTextPane(); in createUI() 56 textPane.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12)); in createUI() 58 fillTextPane(textPane); in createUI() 60 textPane.addMouseListener(new MouseListener() { in createUI() 67 Caret caret = textPane.getCaret(); in createUI() 87 f.add(new JScrollPane(textPane), BorderLayout.CENTER); in createUI() 100 Point p = textPane.getLocationOnScreen(); in main() 112 private static void fillTextPane(JTextPane textPane) { in fillTextPane() argument 125 textPane.setText(buf.toString()); in fillTextPane() [all …]
|
/dports/devel/antlr/antlr-2.7.7/examples/java/unicode.IDENTs/ |
H A D | Debug.java | 38 private static JTextPane textPane; field in Debug 66 textPane = createTextPane(); in Debug() 67 frame.getContentPane().add(new JScrollPane(textPane)); in Debug() 87 JTextPane textPane = new JTextPane(); in createTextPane() local 88 textPane.setEditable(false); in createTextPane() 89 initStylesForTextPane(textPane); in createTextPane() 90 doc = textPane.getDocument(); in createTextPane() 91 textPane.setPreferredSize(new Dimension(500,500)); in createTextPane() 92 return textPane; in createTextPane() 156 textPane.getStyle("regular")); in print() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 87 textPane.setContentType("text/html"); in createAndShowGUI() 88 textPane.setEditorKit(editorKit); in createAndShowGUI() 89 textPane.setText("Initial text without table"); in createAndShowGUI() 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 87 textPane.setContentType("text/html"); in createAndShowGUI() 88 textPane.setEditorKit(editorKit); in createAndShowGUI() 89 textPane.setText("Initial text without table"); in createAndShowGUI() 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 87 textPane.setContentType("text/html"); in createAndShowGUI() 88 textPane.setEditorKit(editorKit); in createAndShowGUI() 89 textPane.setText("Initial text without table"); in createAndShowGUI() 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 87 textPane.setContentType("text/html"); in createAndShowGUI() 88 textPane.setEditorKit(editorKit); in createAndShowGUI() 89 textPane.setText("Initial text without table"); in createAndShowGUI() 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 87 textPane.setContentType("text/html"); in createAndShowGUI() 88 textPane.setEditorKit(editorKit); in createAndShowGUI() 89 textPane.setText("Initial text without table"); in createAndShowGUI() 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); 87 textPane.setContentType("text/html"); 88 textPane.setEditorKit(editorKit); 89 textPane.setText("Initial text without table"); 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p");
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 87 textPane.setContentType("text/html"); in createAndShowGUI() 88 textPane.setEditorKit(editorKit); in createAndShowGUI() 89 textPane.setText("Initial text without table"); in createAndShowGUI() 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 86 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 87 textPane.setContentType("text/html"); in createAndShowGUI() 88 textPane.setEditorKit(editorKit); in createAndShowGUI() 89 textPane.setText("Initial text without table"); in createAndShowGUI() 92 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 97 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 98 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 99 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 84 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 85 textPane.setContentType("text/html"); in createAndShowGUI() 86 textPane.setEditorKit(editorKit); in createAndShowGUI() 87 textPane.setText("Initial text without table"); in createAndShowGUI() 90 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 95 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 96 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 97 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/javax/swing/text/View/8048110/ |
H A D | bug8048110.java | 84 JTextPane textPane = new JTextPane(); in createAndShowGUI() local 85 textPane.setContentType("text/html"); in createAndShowGUI() 86 textPane.setEditorKit(editorKit); in createAndShowGUI() 87 textPane.setText("Initial text without table"); in createAndShowGUI() 90 frame.getContentPane().add(textPane, BorderLayout.CENTER); in createAndShowGUI() 95 textPane.setDocument(textPane.getEditorKit().createDefaultDocument()); in createAndShowGUI() 96 HTMLDocument htmlDocument = (HTMLDocument) textPane.getDocument(); in createAndShowGUI() 97 … Element firstParagraph = findFirstElement(textPane.getDocument().getDefaultRootElement(), "p"); in createAndShowGUI()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/JTextPane/ |
H A D | TestJTextPaneHTMLRendering.java | 57 private static JTextPane textPane; field in TestJTextPaneHTMLRendering 135 textPane = new JTextPane(); in createTestUI() 136 panel.add(textPane, BorderLayout.CENTER); in createTestUI() 138 final EditorKit l_kit = textPane.getEditorKitForContentType("text/html"); in createTestUI() 139 textPane.setEditable(false); in createTestUI() 140 textPane.setEditorKit(l_kit); in createTestUI() 141 cache = (Dictionary<URL, Image>)textPane.getDocument().getProperty("imageCache"); in createTestUI() 144 textPane.getDocument().putProperty("imageCache",cache); in createTestUI() 165 textPane.setText(sb.toString()); in runTest() 166 textPane.validate(); in runTest() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/swing/JTextPane/ |
H A D | TestJTextPaneHTMLRendering.java | 57 private static JTextPane textPane; field in TestJTextPaneHTMLRendering 135 textPane = new JTextPane(); in createTestUI() 136 panel.add(textPane, BorderLayout.CENTER); in createTestUI() 138 final EditorKit l_kit = textPane.getEditorKitForContentType("text/html"); in createTestUI() 139 textPane.setEditable(false); in createTestUI() 140 textPane.setEditorKit(l_kit); in createTestUI() 141 cache = (Dictionary<URL, Image>)textPane.getDocument().getProperty("imageCache"); in createTestUI() 144 textPane.getDocument().putProperty("imageCache",cache); in createTestUI() 165 textPane.setText(sb.toString()); in runTest() 166 textPane.validate(); in runTest() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/JTextPane/ |
H A D | TestJTextPaneHTMLRendering.java | 57 private static JTextPane textPane; field in TestJTextPaneHTMLRendering 135 textPane = new JTextPane(); in createTestUI() 136 panel.add(textPane, BorderLayout.CENTER); in createTestUI() 138 final EditorKit l_kit = textPane.getEditorKitForContentType("text/html"); in createTestUI() 139 textPane.setEditable(false); in createTestUI() 140 textPane.setEditorKit(l_kit); in createTestUI() 141 cache = (Dictionary<URL, Image>)textPane.getDocument().getProperty("imageCache"); in createTestUI() 144 textPane.getDocument().putProperty("imageCache",cache); in createTestUI() 165 textPane.setText(sb.toString()); in runTest() 166 textPane.validate(); in runTest() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/javax/swing/JTextPane/ |
H A D | TestJTextPaneHTMLRendering.java | 57 private static JTextPane textPane; field in TestJTextPaneHTMLRendering 135 textPane = new JTextPane(); in createTestUI() 136 panel.add(textPane, BorderLayout.CENTER); in createTestUI() 138 final EditorKit l_kit = textPane.getEditorKitForContentType("text/html"); in createTestUI() 139 textPane.setEditable(false); in createTestUI() 140 textPane.setEditorKit(l_kit); in createTestUI() 141 cache = (Dictionary<URL, Image>)textPane.getDocument().getProperty("imageCache"); in createTestUI() 144 textPane.getDocument().putProperty("imageCache",cache); in createTestUI() 165 textPane.setText(sb.toString()); in runTest() 166 textPane.validate(); in runTest() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/javax/swing/JTextPane/ |
H A D | TestJTextPaneHTMLRendering.java | 57 private static JTextPane textPane; field in TestJTextPaneHTMLRendering 135 textPane = new JTextPane(); in createTestUI() 136 panel.add(textPane, BorderLayout.CENTER); in createTestUI() 138 final EditorKit l_kit = textPane.getEditorKitForContentType("text/html"); in createTestUI() 139 textPane.setEditable(false); in createTestUI() 140 textPane.setEditorKit(l_kit); in createTestUI() 141 cache = (Dictionary<URL, Image>)textPane.getDocument().getProperty("imageCache"); in createTestUI() 144 textPane.getDocument().putProperty("imageCache",cache); in createTestUI() 165 textPane.setText(sb.toString()); in runTest() 166 textPane.validate(); in runTest() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/javax/swing/JTextPane/ |
H A D | TestJTextPaneHTMLRendering.java | 57 private static JTextPane textPane; field in TestJTextPaneHTMLRendering 135 textPane = new JTextPane(); in createTestUI() 136 panel.add(textPane, BorderLayout.CENTER); in createTestUI() 138 final EditorKit l_kit = textPane.getEditorKitForContentType("text/html"); in createTestUI() 139 textPane.setEditable(false); in createTestUI() 140 textPane.setEditorKit(l_kit); in createTestUI() 141 cache = (Dictionary<URL, Image>)textPane.getDocument().getProperty("imageCache"); in createTestUI() 144 textPane.getDocument().putProperty("imageCache",cache); in createTestUI() 165 textPane.setText(sb.toString()); in runTest() 166 textPane.validate(); in runTest() [all …]
|