Wednesday, 15 August 2012

java - Which Swing layout(s) do you recommend? -


There are 8 layout managers in the java library alone, and then there is also a bunch of third party products.

The other day, I tried to use the spring layout and ... well, it is not working for me. So ... if you have a swing app to design, and you want your layout, now , what are your favorite layout managers? Any related / interesting experience related?

Update: Yes, I'm sure different LMs are suitable for different layouts. But I hope most of you use 1, 2 or 3 , Or you swear by any one who is so versatile, you do not need anything at all. With enough reactions, I was hoping to see something like a grid curve, for example with a gridbag layout or a mini-out (peak) and using some waving boxes (say) box layout or flow layout.

Hopefully the distribution of responses will show some trends that people get content and business


updates and summaries

How to use the most, after about 2 days, the MEGALLAYOUT has definitely come out! Its fans will be happy to hear that it seems that this layout will soon have to enter the "official" library.

Group layouts, formlate and table layouts are relatively new and they have not got too much exposure. Perhaps others would be surprised to know about them as I was.

, there is no doubt in it. Honestly, this is the only swing layout manager I know that makes sense to me.

The only fact is that the Core JDK has 8 layout managers, it is a good thing that the swing maker did not know at all what they were trying to do, it did not junk the rest of the swing - It's a good GUI toolkit except layout manager.


No comments:

Post a Comment