EvilZone
Programming and Scripting => Java => : hppd December 09, 2013, 09:45:26 PM
-
Hello coders
I've just discovered the super easy way to make user interfaces in Netbeans with the Design view. It almost looks to good to be true.. Do you use it? And what do you think are the benefits and drawbacks of it.
-
Pros:
* easier for a Swing beginner
* fast results
Cons:
* you don't learn how to do it yourself
* the code you get is not flexible and hard to read
I prefer to write it all on my own. Partly because I don't use Netbeans, but also because I like to have well designed code and by now it is probably easier for me to write it than getting used to a GUI Designer (not sure, I never tried the Netbeans GUI Builder, only two Eclipse Plugins and these where terrible).
-
I don't deal with GUI's much as I am normally programming a game if I'm using java. But I mean, same 'rule' goes for that as every other drag and drop type thing:
You don't learn jack.
Of course, if you're on a tight schedule use it! But if not, definitely learn to code the GUI as it will help you out later.
-
I said it once before and I'll say it again.
As other said, it's not good if you are just starting and trying to learn. However when you'll become fairly good at it, you can move to just drag and drop coding, because you'll want to do faster and rapid development, which you can't really do if you're gonna write every element yourself.
-
I said it once before and I'll say it again.
As other said, it's not good if you are just starting and trying to learn. However when you'll become fairly good at it, you can move to just drag and drop coding, because you'll want to do faster and rapid development, which you can't really do if you're gonna write every element yourself.
I've been using it a bit and even when you are already good I don't think it's good to use a GUI maker not the netbeans one anyway. You can't edit the gui code, and it spits out like 5 pages for what can be done in 1.5 pages.
-
I've been using it a bit and even when you are already good I don't think it's good to use a GUI maker not the netbeans one anyway. You can't edit the gui code, and it spits out like 5 pages for what can be done in 1.5 pages.
Of course, code automation tends to generate lots of unnecessary code which shouldn't be there. I haven't used a Netbeans GUI designer, but Eclipse's Swing components are pretty accurate for GUI design...