jtextarea
ScrollPanel in java does not appear JTextArea resizes instead
My program is finished, but testing it out, I found out that the scrollpanel does not appear, it just resizes the JTextArea instead. The code is provided below:[详细]
2022-12-29 12:37 分类:问答a retractable JTextArea with scrollpane
Goodevening how can have a JTextArea like in netbeans (see the pic) (source: hostingpics.net) my code of the JTextArea:[详细]
2022-12-28 19:45 分类:问答Output to jTextArea in realtime
I have some code which takes a few minutes to process, it has to connect to the web for each string in a long array, each string is a url.I want to make it so that everytime it connects, it should ref[详细]
2022-12-28 07:48 分类:问答Java Swingworker: Not as encapsulated class
I\'m having problems passing information, updating progress and indicating \"done\" with a SwingWorker class that is not an encapsulated class.[详细]
2022-12-28 04:24 分类:问答How to display bold text in only parts of JTextArea?
Can I alter the text of a JTextArea to bold (append text) and then back to normal and will it o开发者_运维百科nly display the bold text in bold and the rest as normal?[详细]
2022-12-28 00:13 分类:问答Scrollbars on JTextArea in a JScrollPane do not work
I\'m having trouble getting a JTextArea to scroll. I\'m not sure how you can mess up a JScrollPane but I seem to have and I just can\'t see it. It\'s all part of a larger project but the code below is[详细]
2022-12-27 13:26 分类:问答how to select a line in a Jtextarea?
I have a jtextarea that is not editable. It has some text in it. What i want is that when a user clicks in the jtextarea, (preferably single click), the entire line be highlighted, and this highlighte[详细]
2022-12-26 19:06 分类:问答Setting fonts in a JTextArea
I\'ve got a JTextArea which has the following text \"Text1 Text2 Text3\". Is there a way I can makeall of them different fonts? E.g. \"Text1\" is bold, \"Text2\" is italic and \"Text3\" is normal?[详细]
2022-12-23 12:03 分类:问答Making a JScrollPane automatically scroll all the way down
I am trying to implement a JScrollPane with a JTextArea. The JTextArea is being appended to, and I want the JScrollPane to keep scrolling down as more text is added. How can this 开发者_Python百科be a[详细]
2022-12-23 07:58 分类:问答MigLayout JTextArea is not shrinking when used with linewrap=true
If I use a JTextArea with MigLayout like this: MigLayout thisLayout = new MigLayout("", "[][grow]", "[]20[]");[详细]
2022-12-23 05:01 分类:问答