Reputation: 323
I just started using Swing, because I need GUI for a program I'm trying to do, but I have a lot of difficulties in arranging things like I want. I tried to look on Oracle's site and also in some other place but I still don t understand how to do it.
The final layout that I want is something like this:
For now I don't have in mind specific dimension, just I want to look like this.
Can you help me guys giving me some tips on how to do this?
Upvotes: 2
Views: 287
Reputation: 7716
Eclipse has a really nice "WindowBuilder" feature. You can use it to generate and place components. Give it a try. I think you will like it. You can then study the generated code which will in turn, help you to increase your understanding of swing.
Upvotes: 2
Reputation: 2030
I would personally use MigLayout layout. It is both powerful and easy to use.
Upvotes: 0