Need help with GUI (swing)
This is my first project where I use swing and I need help making the textArea in bankStatementInterface larger in y axis. I've attached images with relevant code and with the interface.
8 Replies
⌛
This post has been reserved for your question.
Hey @AdelinV2! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Try adding a minimum height to the textArea
JComponent (Java SE 21 & JDK 21)
declaration: module: java.desktop, package: javax.swing, class: JComponent
I did this but still not working
and setting a minimum size on the scroll pane did nothing either?
Why only 100?
still looks the same
Wait, my bad, I've set maximmsize
Its working, thank you @dan1st | Daniel
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Post Closed
This post has been closed by <@244412270803681281>.