• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Netbeans IDE 6 - productive when programming Swing apps?

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic