Hi Java Guys, I try to write a cool desktop app. But I find it really difficult to make a good GUI with swing. Does anybody know a good online Tutorial, or book (need not to be online)? Regards. Nicole
I find it specially difficult to place my controls in a "nice" way on the panel. It always looks nasty.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
Well, "nasty" is of course relative to your design sensibilities :-)
Generally, using an appropriate LayoutManager puts components into proper places. I find myself using BoxLayout and GridLayout a lot, possibly using a hierarchy of JPanels.
If you're already familiar with the basics of Swing, I can recommend the book Filthy Rich Clients. To quote directly from its preface: "This book is about building better, more effective and cooler desktop applications using graphical and animated effects". I found it to be an immensely fun and educational read!
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.