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:
Goodevening how can have a JTextArea like in netbeans (see the pic) (source: hostingpics.net) my code of the JTextArea:
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
I\'m having problems passing information, updating progress and indicating \"done\" with a SwingWorker class that is not an encapsulated class.
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?
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
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
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?
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
If I use a JTextArea with MigLayout like this: MigLayout thisLayout = new MigLayout("", "[][grow]", "[]20[]");