Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans GUI Builder

I have a rather large application. I have used the Netbeans GUI builder for most of the GUI work. Now that the project is starting to get large, I was wondering if this was advisable. Is it best to create the GUI's by hand so that I can have greater control over them? Is it advisable to stay away from the GUI builder or stick with it. Could you share some of your experience?

Thanks

EDIT:

See this is why I asked this question. It seems like different people all have their opions. Mine personally is that it works nice for small projects, but when things start to get complex, the GUI editor can be a hassle to use.

like image 246
user489041 Avatar asked Jan 21 '11 17:01

user489041


People also ask

Does NetBeans have a GUI builder?

The GUI builder and layout manager work together to allow you to freely place and manipulate visual components anywhere on your form. The Free Design mode is active by default when you create a new form or panel. This style of interacting with GUI forms shows up in NetBeans IDE 5.5 as another layout manager.

Which is better JavaFX or Swing?

In short, Swing and JavaFX are both GUI toolkits for Java programs. Swing is the old standard toolkit that features a bigger library of GUI elements and mature IDE support. JavaFX is the newer standard with a smaller library, more consistent updates, and consistent MVC support.

How do I run a JFrame form in NetBeans?

In the Projects window, right-click the ContactEditor node and choose New > JFrame Form. Alternatively, you can find a JFrame form by choosing New > Other > Swing GUI Forms > JFrame Form.


2 Answers

Absolutely, doing it by hand it preferred. The GUI Builder is handy for prototypes and quick throwaway code. Anything that is going to be maintained, customized or complex will be much less of a headache long-term if you do it by hand.

like image 154
jzd Avatar answered Sep 17 '22 20:09

jzd


I like the Swing GUI builder and I do use it in a large project.

Really simple dialogs I just code "by hand".

When changing/creating more complex ones I prefer the GUI builder because I can immediately see how the form/dialog will look like.

Once you get the hang of the GUI builder I don't feel I have less control over it than when coding by hand.

like image 38
a_horse_with_no_name Avatar answered Sep 20 '22 20:09

a_horse_with_no_name