IntelliJ IDEA GUI Designer JScrollPane Not Scrolling JTextArea
Answered
Hey,
First post on here so sorry if the format is wrong.
I'm current making a GUI for a IRC chat using IntelliJ's GUI designer, currently I'm trying to make a JTextArea be scroll-able so you can scroll to see new messages. However, I'm having trouble trying to get the JScrollPanel to make it scroll, I've tried using the "surround with JScrollPanel" but that hasn't worked, and I can't seem to find any other way how to do this, I'd prefer not to manually code in the JScrollPanel as well, as I'd like to make it fully using IntelliJ's GUI designer. I've supplied a screenshot of the structure of the form (I can't figure out how to upload the form and class file), if you're able to help, thanks a lot in advance.

Please sign in to leave a comment.
Can you try with JTextPane instead of JTextArea?
If this also not working, please share a sample project where the issue could be reproduced.
The JTextPane works with the scroll bar now, thanks a lot!
Is there any reason why the JTextArea doesn't want to work?