permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes GUI Builder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "GUI Builder" Watch "GUI Builder" New topic
Author

GUI Builder

Santiago Bravo
Ranch Hand

Joined: Jul 25, 2008
Posts: 226
Hi,

question for those who have experience in building GUIs...do you use any GUI builders?

Is it better to code GUIs from scratch?


Thanks


Santiago
My Path to SCJP Certification My Path to SCWCD Certification
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Originally posted by Santiago Bravo:
question for those who have experience in building GUIs...do you use any GUI builders?

Is it better to code GUIs from scratch?


Hello Santiago, I'd like to answer your question with a question: What's your experience with Swing GUI and what's your goal?

If your experience is limited and your goal is to learn how to code in Swing, then I feel strongly that you should avoid use of GUI builders and instead learn from to build from scratch. It's been my experience in these and other forums that newbies who build GUIs with code-generation software learn Swing coding at a much slower rate than those who don't. Sure they can slap an app together quickly and easily, but eventually they'll want to modify that app, and often they're so clueless (through no fault of their own) as to not be able to understand the recommendations that we give them.

If your experience with Swing is quite extensive and you want to build quick GUI apps that you probably won't be maintaining for a long time, then by all means, use a GUI builder.

For the folks in between, I still recommend building most apps from scratch, but I'm not as dogmatic about it.
Andre Uhres
Greenhorn

Joined: Nov 23, 2008
Posts: 23
I use the NetBeans Gui builder, but coding from scratch is better for advanced features.
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Originally posted by Andre Uhres:
I use the NetBeans Gui builder, but coding from scratch is better for advanced features.


But I'm guessing that you are already quite familiar with Swing programming, correct?
Andre Uhres
Greenhorn

Joined: Nov 23, 2008
Posts: 23
Originally posted by pete stein:
But I'm guessing that you are already quite familiar with Swing programming, correct?

Correct. I wouldn't recommend a Gui builder for beginners.
Santiago Bravo
Ranch Hand

Joined: Jul 25, 2008
Posts: 226
Hi All,

Thanks for the replies.

Basically im a beginner in GUI building. The reason I asked about GUI builders is that I need to create a few GUIs for a client. I thought it would be much quicker to use a GUI builder.
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Oh, I'm sure that it will be quicker to create them, but again watch out when it's time to extend or maintain them!

But here's an idea: try doing it from scratch with the assistance of the Sun Swing tutorials, and then come back here w/ your questions if you get stuck. That's how I learned.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: GUI Builder
 
Similar Threads
Lighting the fires of Gondor
Swing / AWT / Applet
Swing has Swung -- a substitute for my buttons?
communicating/affecting another class
Coding for GUI is such a drag :(