The Java Tutorials' Weblog
Enter NetBeans IDE!
The current tutorial has a "Getting Started" section for the NetBeans IDE, but the subsequent trails and lessons don't give any examples that are specific to using it. Well, that's about to change. We're currently prototyping the next version of the tutorial, which will fully integrate NetBeans into the discussions and examples. The first section to receive such treatment will be the Getting Started with Swing lesson. If you haven't used it before, NetBeans has an incredibly useful GUI builder; the various Swing components (JLabel, JTextField, etc.) appear in a pallete, and you literally just drag the components onto the visual form editor to create the layout of your GUI. With this feature the typical GUI creation cycle of code/compile/run/fix/repeat becomes a thing of the past. If you've ever struggled with coding layout managers by hand, you'll appreciate how much easier this is.Now, we realize that some developers will still want/need to understand the underlying concepts. For that we will provide optional links that lead to deeper conceptual discussions, with examples of how to code by hand as usual. We believe this will reduce the learning curve associated with Swing, yet still provide enough information for those who prefer to build their GUI from the ground up.
Your thoughts?
-- Scott Hommel
Posted at 12:05PM Dec 20, 2006 by The Java Tutorial Team | Comments[5]
Wednesday Dec 20, 2006
Posted by Ranganath.S on December 20, 2006 at 09:07 PM PST #
- While GroupLayout is great it is still slightly harder than absolute positioning. You should stress that this is easy to change (and explain the consequences to i18n and cross platform).
- Data aware components are very important to many developers. It would be nice to explain how to integrate with some of the work done in SwingLabs. An end to end 2-tier simple solution would be great in that sense.
I think the fact that the generated code in NB is blocked is its best feature ;-) It allows stable code generation and you can customize almost everything, the 2way tools tend to break.Posted by Shai Almog on December 20, 2006 at 10:55 PM PST #
Posted by Ric on December 21, 2006 at 09:46 PM PST #
Posted by Chuck R on December 21, 2006 at 10:44 PM PST #
Posted by Rex Ranay on May 01, 2007 at 01:08 AM PDT #