This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'de like to know if, in your opinion, Netbeans IDE 6 increases productivity when programming Swing applications. Do you think programming Swing apps using this IDE is faster than using other IDEs, like Eclipse, for an instance?
I believe so. The GUI builder increases productivity a LOT. The only problem for hardcore coders is that code generated by the GUI builder is locked, meaning that you cannot change it from the editor. Of course you can open the java files elsewhere and edit it, but that won't be pretty .
I'm not sure what you mean by "locked". I created a new "Java Desktop Application" and all the components can be edited graphically in the "Design" tab. Also, right next to that is the "Source" button which you can click to get the source - in fact, the design changes and source are updated in sync.
Rogerio - absolutely. The Matisse GUI builder makes developing Swing apps extremely easy. I've found using it makes development much faster. The auto-generated code it creates tends to be quite neat and clean (at least in my opinion), but I'm not a Swing expert. As you make changes in the Design area, the GUI builder easily updates the code and makes the changes without messing up your code like other GUI building tools. Excellent overall.
Originally posted by Rohan Dhruva: I'm not sure what you mean by "locked".
What I meant is that when you go to the source tab, you cannot edit the auto generated code. The code that is generated is clean code, and it gets updated when you update the GUI. You'll find that there is a part called "Generated Code", and it's highlighted in gray. You can't edit those parts, and that's what I meant by "locked". Most people will never need to touch this code, but it might be pretty annoying to hardcore developers.
Joined: May 08, 2007
Aha yes, I just noticed. It's not a hard and fast requirement though, Alaa, just a code-fold. You can unfold the code and edit it from within NetBeans itself, so those "hardcode developers" won't be annoyed
Originally posted by Rohan Dhruva: Aha yes, I just noticed. It's not a hard and fast requirement though, Alaa, just a code-fold. You can unfold the code and edit it from within NetBeans itself, so those "hardcode developers" won't be annoyed
Nope. Even you expand the fold, it will be highlighted in gray, and you cannot edit the code at all.
Joined: May 08, 2007
Oops, I spoke too soon.. Yes, it's completely in gray, can't be edited. My bad, sorry