views:

116

answers:

2

Possible Duplicate:
IDE for Swing

Hi I'm looking for some java gui builder. I used Swing Designer from instantiations and it was pretty good, but I can't use it anymore since I don't want to pay for it and it's a pain to install on linux. Eclipse just won't access the site. I love netbeans, but I'm looking for something that will give me plain java files. I do not want to have those .form files that netbeans generates.

Do you know of any good GUI builders?

A: 

I was going to say netbeans, but you already mentioned that.

Actually what I usually do is generate GroupLayout code myself. If you can handle writing HTML by hand you should be able to deal with GroupLayout manually as well, although it can be confusing since the horizontal and vertical layouts are done separately, which can be counter-intuitive at first.

But, once you get used to it, writing GUI code by hand using GroupLayout isn't the worst thing ever.

That said, I've never seen anything that comes close to the GUI designer in Visual Studio for java :(

Chad Okere
+3  A: 

Just do it by hand, ie not gui builders. It's seems a little more difficult to start, but once you get going and become familiar w/ the layouts and components you will have much more flexibility, understand the code that is written since you wrote it and it wasn't generated, and actually be able to layout your interface faster. Gui builders are the 80/20 they get you 80% of the way, you then finish the last 20% by hand, and have to understand the generated code, and end up changing it, and in the long run spend more time.

broschb
@broschb, requirements tend to change. Having a good GUI editor helps you immensely changing existing layouts. "Oh, please change that part into a table, and I want the address box to right align with that image over there."
Thorbjørn Ravn Andersen
I still disagree, if you are proficient in Swing layouts and your code is organized well, these changes take no longer by hand. Also gui designers add a lot of boilerplate(read messy) code and layout, and sometimes have trouble reading gui's if any changes are made outside the designer, hence you must go to the code directly anyways.
broschb