jtextpane
JTextPane Synchronize Style Selection UI Problem
I am developing a simple WYSIWYG RTF editor in Java and have a small issue. I need to be able to synchronize the style selection toggle buttons (such as bold, italic, underlined) to the users text sel[详细]
2022-12-18 08:59 分类:问答Limit JTextPane memory usage
I have an application which continuously re开发者_运维问答ceives data on a socket, and then logs this data to a file while also displaying this data in a JTextPane. Naturally, as data is written to th[详细]
2022-12-15 23:45 分类:问答In a JTextPane, how can I change the value attribute of an input element?
I have an HTML document being displayed by a JTextPane that works very nicely. I have some buttons that I interact with using ActionListeners for a ButtonModel, 开发者_Python百科and I hook into state[详细]
2022-12-14 18:02 分类:问答Java JTextPane Change Font of Selected Text
I have a JTextPane(or JEditorPane, I can use either no problem).How can I change the font of a selected area to a specific font?[详细]
2022-12-14 13:22 分类:问答How can I create an AutoComplete popup in a JTextPane in Java?
I am creating a SQL开发者_如何学Go editor. I am using JTextPane for the editor. I want to implement AutoCompletion for table name etc. like Eclipse.I think the appropriate class for displaying info on[详细]
2022-12-14 00:39 分类:问答Getting raw text from JTextPane
In my application, I use a JTextPane to display some log information. As I want to hightlight some specific lines in this text (for example the error messages), I set the contentType as \"text/html\".[详细]
2022-12-13 21:15 分类:问答JTextPane keypress emulation
I have a JTextPane integration that should perform predefined steps on keypress events. If I type manually it seems to work fine. But I have to emulate keypress events on this integration for test pur[详细]
2022-12-13 05:55 分类:问答Changing the background color of a paragraph in JTextPane (Java Swing)
Is it possible to change the background color of a paragraph in Java Swing? I tried to set it using the setParagraphAttributes method (code below) but doesn\'t seem to work.[详细]
2022-12-10 13:06 分类:问答How do I get the style of the selected text in a JTextPane?
I\'m trying to create a simple WYSIWYG editor that will allow users to select text and bold/underline/italicise it. Currently the user can select text, right-click it and select bold from a popup menu[详细]
2022-12-08 09:51 分类:问答
加载中,请稍侯......