Transcript of "Desktop Applications with NetBeans"
Le Phan Huu Bang
Sun Campus Ambassador
National University of Singapore
What is NetBeans?
What’s new in NetBeans 6.0?
Why is NetBeans different?
How can NetBeans benefit you?
NetBeans 6.0 Demo
What to do & Where to go?
WHAT IS NETBEANS?
A comprehensive, modular Java IDE
Out-of-box support for J2SE, J2EE and J2ME
Large set of 3rd party modules (plug-ins)
Intuitive drag-and-drop development
Debugger, profiler, refactoring, etc…
Free and open-source based
Open source since June 2000
Large community of users and developers
A platform for building applications
Rich client Java applications
Rich framework of windows, menus, toolbars, actions
WHAT’S NEW IN NETBEANS 6.0?
Code editor enhancements: faster & smarter!
Ruby, JRuby, & Ruby on Rails support
Easier installation and upgrading
Swing GUI data binding
Integrated profiling, profiling “points”
Integrated visual web features
Mobility graphical game builder
SOA & UML enhancements
NetBeans platform enhancements
WHY IS NETBEANS DIFFERENT?
Well-defined project system
Compile & package applications outside NetBeans
Import existing projects with ant scripts (including
Full support from Sun Microsystems, Inc.
100% pure Java
Counter example: Eclipse uses SWT as its GUI
component toolkit which uses native code and needs
to be installed on the system
NETBEANS BENEFITS – BASIC USERS
Don’t know which package to import?
NetBeans Editor gives hints to you
Don’t know which exception to catch?
NetBeans Editor helps you surround your code with Try and
Want to learn about new methods and API?
NetBeans Editor shows you all the useful information about
the API that you can use
Good for self-learners
Want to design a nice GUI but don’t know how to code
and handle events?
Matisse GUI Builder helps you design visually
Matisse GUI Builder helps you handle the events nicely
NETBEANS BENEFITS – ADVANCED USERS
Tired of writing dozens of constructors,
getters and setters?
NetBeans Editor generates for you
Tired of typing “System.out.println”?
Just key “sout” and press Tab!
Tired of inserting document headers?
Use the template!
Have troubles designing a complex GUI?
Matisse GUI Builder can help you
Handle complex Swing APIs (e.g
Easily resize and align
Easily handle locales
Handle different OS behaviours
Bind data to your UI
Want to increase the performance of your
Integrated Visual Profiler
Integrated Visual Debugger
NETBEANS BENEFITS – TEAM USERS
Support code-aware instant
Share entire development
Multi-party file editing
Conduct code reviews
Public collaboration server:
WHAT TO DO?
Download NetBeans 6.0
Join NetBeans.org project
Create collab account
Do NetBeans tutorials
Participate on NetBeans forums
Write a new desktop app!
Collaborate with your friends.
WHERE TO GO?
NetBeans Product Site: http://www.netbeans.org
Download: previews, current & past releases of IDE,
Learning: tutorials, technical articles, flash demos
Community: latest news, forums, events, mailing lists
NetBeans Wiki: http://wiki.netbeans.org/wiki/
Open-source documentation site for Netbeans
Planet NetBeans: http://www.planetnetbeans.org/
Aggregate for all NetBeans-related blogs
Source Code: cvs.netbeans.org:/cvs
CVS source code access for NetBeans platform + IDE
FAST TRACK YOUR CAREER WITH SUN!
Get FREE Web-based training on JavaTM, SolarisTM & more!
Course registration code for NUS is
Company Name: xxx-xxxxxxx
Company ID: xxxxxxxxxxxxxxx
Increase earnings potential with a Sun Certification!
Sun Certified Associate/Programmer for the Java 2 Platform SE
Sun Certified Web Component Developer for Java EE
Sun Certified Mobile Application Developer for Java ME
Sun Certified System/Network Admin for Solaris Operating System
Free practice exams
Discounted exam fees for academic developers – only US$40