Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans IDE 6 - productive when programming Swing apps?

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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?


Thanks.
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Rohan Dhruva
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Adam Myatt
author
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Read about it here : http://www.netbeans.org/kb/trails/matisse.html
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rohan Dhruva
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rohan Dhruva
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops, I spoke too soon.. Yes, it's completely in gray, can't be edited. My bad, sorry
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rohan Dhruva:
Oops, I spoke too soon.. Yes, it's completely in gray, can't be edited. My bad, sorry


NP. I always do that too
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic