Stop Objects from Resizing in Swing?
I'm working on the following swing GUI for a project:
What I want to do is make it so the "Simulation Options" don't resize at all, but just stay the same size and don't move when the whole frame is resized. How can I accomplish this?
The "Simulation Options" is a JPanel with a GridLayout.
Re: Stop Objects from Resizing in Swing?
Quote:
Originally posted by The Hobo
I'm working on the following swing GUI for a project:
What I want to do is make it so the "Simulation Options" don't resize at all, but just stay the same size and don't move when the whole frame is resized. How can I accomplish this?
The "Simulation Options" is a JPanel with a GridLayout.
oops I didn't read that one... gridLayout hmmm.
why don't u use SpringLayout then? on the part of the buttons that is.