Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Greetings,

I tried asking this question on stack overflow, but lately that website has been getting very snippy (but worst of all, unhelpful). So I am going to try other places (like here). Here is the question - java - Set Size on JScrollPane with multiple panels resizes panels on window maximize - Stack Overflow[^]

This is my first java swing project, and I'm trying to learn as much as I can about handling issues like this.

What I have tried:

Aside from the things I have already listed in the question, I've also tried setting default size widths for the gridbaglayout columns (so the combo boxes don't need to remain in their own JPanels when hidden to keep the size). The issue with this was the size would resize at random times, making it unmanageable.
Posted
Updated 11-May-17 0:10am
Comments
Richard Deeming 11-May-17 8:29am    
If you want to ask a question, then you need to post the details of your question here. Don't just post a link to your question on another site.

Apart from anything else, the post on StackOverflow could be closed or deleted, which would leave your question here with absolutely no detail of the problem.

Click "Improve question" and copy the question details from your StackOverflow question. You won't be able to insert the screen-shots, but you can provide links to them where necessary.

1 solution

Since you did not post the details of your problem I can only suggest you take a look at Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900