I've made a gui that has a couple of panes on a frame.

Initially only one frame is visible, but as you fill in options and press buttons, the others become visible.

The problem I have is that the first pane should be in the top left corner when the app starts up. It's not doing that though, when it starts up it's at the top right, and only shifts to the top left when the other pane become visible. Is there any way for me to fix this?

Thanks in advance!

Recommended Answers

All 4 Replies

What layout are you using?

Well I'm using the netbeans drag'n'drop gui maker, so it's free design.

So that would probably be free design, have you thought about trying a different layout? I prefer gridbaglayout because it allows you to set what you want by weight which is very helpful for keeping things in place.

Thanks, I'll try it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.