jtextarea
append JTextArea & invokelater()
I need some help on this one please, i basically have menuVIP.java, and vipKeyword.java. This is menuVIP.java[详细]
2023-04-12 21:33 分类:问答Artifacts when changing background colour of JTextArea
I\'m having a problem when setting the background colour of aJTextArea after I set its text. The code is as follows:[详细]
2023-04-12 06:32 分类:问答JScrollPane doesn't appear in my JTextArea
This class is the layout and implementation for the first tab in my program, the CreatePanel.I am trying to implement a JScrollPane in my JTextArea.However, the scroll bar never appears, although the[详细]
2023-04-09 06:30 分类:问答JTextArea painting Java?
here is the code. don\'t know why the text area isn\'t showing the backgroud image import java.awt.*;[详细]
2023-04-03 22:27 分类:问答change font of specific lines in JTextArea
hi there ı am working on a chat application and i want that user can change the font which he/she is writing. there is a setFont() function but it changes font of all strings in the TextArea. so i ju[详细]
2023-04-03 14:17 分类:问答Making a single line bold in a JTextPane without using HTML
I\'m t开发者_C百科rying to bold a single line in my JTextPane, but nothing I do is working. I\'ve tried writing the line with a new, bolded font, but it didn\'t help.[详细]
2023-04-01 09:52 分类:问答JTextArea show Caret while setEditable is false
How can I put Caret in JTextArea while setEditable is disabled? A sample code when I need Caret to be visible:[详细]
2023-03-31 13:52 分类:问答JTextarea with dynamic text length and wrapping in BoxLayout wrong height
I\'m trying to have multiline labels and image labels in a veritcal BoxLayout. For the multiline labels I use a JTextArea with setEditable(false). For the image labels I use a JLabel([ImageIcon]).[详细]
2023-03-31 06:02 分类:问答fancy tooltips in Swing
I have a JTable that I would like to display a fancy tooltip (basically a JTextArea) for particular cells in a column. I am using a custom cell renderer, so it would be easy if I could f开发者_开发百科[详细]
2023-03-29 15:18 分类:问答How to keep menu item on top of text area?
I\'m using netbeans to write the GUI. I have a menu bar with few menu items and the main window has a text area all over it.[详细]
2023-03-28 21:10 分类:问答