Publisher: O'Reilly Media Released: October 2002 Pages: 674
As the Java programming language has increased in both functionality and complexity, developers have demanded more of their program editors. Gone are the days when a simple visual editor is sufficient for even small programming projects. While there are numerous IDEs available today for use by Java developers, one stands above the rest, not only for its functionality, but for its extensibility: NetBeans. In NetBeans: The Definitive Guide, you'll find out how to use this IDE to its fullest, making your Java programming more efficient and productive than ever before. You'll understand the basics of the IDE, and quickly be utilizing the various editor and explorer windows. You'll also master many of NetBeans advanced features, and be working with XML documents, CVS repositories, Javadoc trees, and web applications, all within the NetBeans framework. In addition to teaching you how to use the existing features of NetBeans, this work goes on to cover developing additional modules for NetBeans. Through this instructional portion of the book, you will master the NetBeans APIs, and learn how to enhance NetBeans for your own specific needs. Whether you need to add customized behavior to handle your proprietary file formats, or want to redistribute NetBeans as a proprietary product, NetBeans: The Definitive Guide will allow you to master this open source IDE and all of its advanced features. Whether you are an enterprise developer looking for an IDE that can handle your complex program tasks, an open source developer looking to integrate NetBeans into your own visual projects, or a manager trying to maximize your team's development potential,NetBeans: The Definitive Guide is the book for you. |
-
Chapter 1 Getting and Installing the IDE -
Platforms and Requirements -
Getting and Installing a JDK -
Which IDE Distribution? -
Installing Binary Distributions -
Building the IDE from Source (Simple Builds) -
Running the IDE -
Updating the IDE Automatically -
You’re Now Running NetBeans -
Chapter 2 Concepts and Paradigms -
NetBeans and the Java Abstract Model of Computing -
Explorer -
Creating Packages and Classes -
Services -
Workspaces -
Project Management -
Object Browser -
Summary -
Chapter 3 Working with the Source Editor -
Why Learn a New Editor? -
Opening the Source Editor -
Context Menus -
Closing the Source Editor -
Code Completion -
Editor Colorings -
Shortcuts -
Word Matching -
Indentation Engines and Code Formatting -
Automatic Edits -
Other Editor Functionality -
A Simple Example -
Chapter 4 Debugging -
Debugger Types -
Breakpoint Types -
Adding and Removing Breakpoints -
Setting Watches -
Starting the Debugger -
The Debugger Window -
The Variables View -
Remote Debugging in NetBeans -
Chapter 5 Compilation and Execution Services -
Using Custom Compilation and Execution Services -
Associating Services with Java Files -
Building with Ant -
Chapter 6 Customizing the Environment -
The Setup Wizard -
The Tools→Options Dialog -
Configuring Toolbars -
Configuring Menus -
Configuring Editors -
Command Line Options -
Modules -
Chapter 7 Using Source Control (CVS) -
What Is CVS? -
The How, When, and Why of CVS in NetBeans -
Mounting CVS Sources -
Exploring Versioned Sources -
Common CVS Operations -
Unexpected Results -
Uncommon CVS Operations -
Mounting a Generic Versioning System -
One Final Tip -
Chapter 8 GUI Building -
Creating a GUI Frame or Panel -
Adding Components to a GUI Container -
Configuring Components -
Building Menus -
Changing a Container’s Layout -
Working with Borders -
Accessibility -
Copying a Source Object -
The Connection Wizard -
The GridBagLayout Customizer -
Adding Event Handlers -
Using the Code Generation Properties -
Working Around Code Generation -
Containers Within Containers -
Building Complex GUIs -
Chapter 9 JavaBeans -
Why Should I Make Beans? -
Creating JavaBeans -
Component Palette -
Chapter 10 Using Javadoc -
Javadoc Support in NetBeans -
Mounting Javadocs -
The Javadoc Search Tool -
Creating Javadoc -
Chapter 11 Working with XML -
Installing XML Support -
Overview -
XML Editors -
Beyond Editing XML -
Generating Java Classes -
Chapter 12 Developing Web Applications -
Why the IDE Supports Web Application Development -
How the IDE Provides Web Application Support -
Creating a Web Application -
Working with JSP and HTML Files -
Advanced Web Applications Features -
Packaging and Deploying Web Applications -
Chapter 13 Extending NetBeans -
What’s Different About NetBeans? -
The Core and the Open APIs -
NetBeans for Bean Counters -
Getting and Installing the Open APIs Support Module -
Life Is Change -
Source Code for the Examples -
Chapter 14 Understanding the NetBeans APIs -
Design Philosophy of NetBeans -
User-Level Customization -
Modules—Overview -
Interacting with the IDE -
Chapter 15 The Open APIs -
APIs versus Core versus Modules -
Service Provider Interfaces and Client APIs -
Overview of the APIs and Their Purposes -
Modules, JARs, and Class Loaders -
Threading, Deadlocks, andHow to Avoid Them -
Chapter 16 Developing Modules—the New Module Wizard -
The HelloWorld Module -
Chapter 17 Internals of the Running IDE -
The Activated Node(s) -
Cookies -
A Peek under the Hood -
Touring NetBeans with the Bean Browser -
Data Objects, Nodes, and Cookies -
Filesystems and the Repository -
Services -
Lookup -
Options -
UI Components -
Localization -
Wizards -
Jumping-off Places -
Special Folders in the System Filesystem -
Chapter 18 Creating the QuickPanel Module -
Abstractions Covered in This Chapter -
Creating the Project Files Drop-Down -
FilterNode—Filtering Which Children of a Node Are Displayed -
Creating the Methods Drop-Down -
Improving the Methods Drop-Down -
Creating the Module -
A Little Homework -
Chapter 19 A Mail-Based Filesystem -
Building a Mail Reader in the NetBeans Paradigm -
Implementing MailFileSystem Using AbstractFileSystem and JavaMail -
Creating Folder Objects for Attachments -
Using FileSystem.Status Annotations to Mark Unread Messages -
BeanInfo—Displaying Filesystem Properties -
Using the Wizard Framework to Set Up Mail Accounts -
Chapter 20 Creating the User Interfacefor the Mail Client -
Creating a DataLoader for Messages -
Creating a Threaded Mail View Using Filter Nodes -
Creating a Mail Workspace -
Chapter 21 Score File Support -
Overview—Functionality to be Implemented -
Creating the Minicomposer Module -
Creating a UniFileLoader and MultiDataObject for *.score Files -
Creating an Editor Support for Scores -
Creating a Fixed ExecCookie to Play Scores -
Creating a Simple Template -
Chapter 22 Creating a Structural View of the Score -
Creating a ScoreCookie to Represent a Sequence of Notes -
Creating a ScoreSupport -
Lifecycle of the Score -
An OpenSupport -
Indicating Parse Errors on the Node -
Chapter 23 Compiling Scores -
Creating the Compilers -
Creating and Using the Compiler Cookie -
Displaying an Out-of-Date Badge on Score Icons -
Chapter 24 Executing Scores -
Creating the .au Player Executor -
Creating Player Configuration Support -
Creating a SystemOption for the Default Executor -
Chapter 25 Better Score Support in the Explorer -
The Clip Length Property -
Representing Notes as Subnodes Using Children.Keys -
Permitting Subnodes to Be Renamed or Deleted -
Permitting Subnodes to Be Added -
Making Read/Write Properties on Subnodes -
Reordering Subnodes -
Data Transfer—Cut, Copy, and Paste of Notes and Sequences -
Chapter 26 Tuning Modules for Performance & Memory Footprint -
Startup Performance vs. Runtime Performance -
Operating Principles -
Techniques -
Chapter 27 Producing Modules (Packaging & Distribution) -
Versioning -
Upgrading User Settings -
Bundling Extension Libraries -
Internationalization and Accessibility -
JavaHelp—Writing and Distributing -
Supporting User-Level Java APIs -
Creating the Module JAR File Within the IDE -
Creating a Build Script Using Ant -
Producing the .nbm File -
Publishing Using the Update Center -
Using ErrorManager to Log Problems -
Testing -
Chapter 28 Building Your Distribution of NetBeans -
Do You Need Your Own Distribution? -
Licensing -
Selecting a Baseline -
Getting the Sources -
Customizing the Build Process -
Adding Modules to a “Stock” Distribution -
Creating Preconfigured Settings -
Branding -
Appendix A Tour of Existing Modules -
Modules That Expose Functionality You Might Need -
Incidental APIs, Utilities, and Extensions -
Modules That Make Good Examples for Things You May Need to Implement -
Appendix Useful Utility Classes -
XML Utilities -
Visual Components and Extensions to Standard Swing Components -
Lookup Implementations -
Threading -
Miscellaneous Utility Classes inorg.openide.util -
Serialization Helpers -
Appendix Resources -
CVSHome -
Java Environments -
Java Tools -
Secure Shell (SSH) Resources -
Cygwin for Windows -
Newsgroups and Mailing Lists -
Web Sites -
NetBeans Open Source Projects with Design Forms in the Distribution -
Java-Oriented IDEs Other Than NetBeans -
Appendix Future Plans -
Declarative Instantiation -
Uniform Lookup -
Datasystems II -
The Looks API -
Declarative Actions -
Deprecation of IDE-Specific Functionality in the Open APIs -
The Metadata Repository -
Project Support -
Appendix Working with Open Source and NetBeans -
Practices -
Resources -
Interacting Effectively on Mailing Lists -
Appendix Additional Modules and Where to Find Them -
Open Source Modules Available Via the Update Center -
The Modules Marketplace on Flashline -
IDEs That Are Distributions of the NetBeans IDE -
Open Source Application Projects Based on NetBeans -
Commercial Applications Built on the NetBeans Platform -
Commercial Modules Available for NetBeans -
Should You Create Your Own Update Server? -
Colophon |
- Title:
- NetBeans: The Definitive Guide
- By:
- Tim Boudreau, Jesse Glick, Simeon Greene, Vaughn Spurlin, Jack J. Woehr
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- October 2002
- Ebook:
- March 2012
- Pages:
- 674
- Print ISBN:
- 978-0-596-00280-0
- | ISBN 10:
- 0-596-00280-7
- Ebook ISBN:
- 978-1-4493-8599-6
- | ISBN 10:
- 1-4493-8599-0
|
-
Tim Boudreau is a native of Massachusetts who has worked in the IT industry as a developer, writer, graphic artist on and off since the age of twelve. Following a hiatus as a literary theory major and musician, he returned to the world of computers at the age of 23 in response to the marvelous career opportunities for a student of literature during a recession, and the clamour of the IT world for his return. In the spring of 1999, he moved to the Czech Republic to work for a small company called NetBeans, which was soon to be acquired by Sun Microsystems, where he still lives and works. Tim can be found at most times perched with an underpowered laptop, deep in ascetic concentration in his monastic quarters high in the towers of Sun Microsystems in Prague. He is occasionally led outside, blinking in the twilight, to belt out blues tunes in smoky bars, on the advice of his physicians and Sun Microsystems' "Great Place to Work" program. View Tim Boudreau's full profile page. -
Jesse Glick has worked on NetBeans since January 1999 in several capacities, including developing NetBeans core software, editing API documentation, and providing assistance for integrators. He joined Sun with the acquisition of NetBeans in the fall of 1999. He has spoken twice at JavaOne on NetBeans module development. View Jesse Glick's full profile page. -
Simeon Greene currently lives with his wife Nikki in Philadelphia PA, but is originally from the sunny island republic of Trinidad and Tobago. In the pursuit of money, education and all else that corrupts, he left his island paradise and currently works as a developer for Hewlett-Packard. Although he misses tropical breezes and an idyllic lifestyle, he enjoys being a software developer and the opportunity to work with interesting technical people like those on the NetBeans project. Besides technology, Simeon also enjoys poetry, classical literature, travel and underground hip-hop - of course. View Simeon Greene's full profile page. -
Vaughn Spurlin began his programming career in 1967 on the physically largest computer ever built, the SAGE system's house-sized AN/FSQ-7. A freelance consultant since 1975, he worked with a wide range of computer hardware and languages, including several early personal computers before they were known as such. Vaughn currently writes technical articles about Sun ONE Studio and develops training materials for Sun. View Vaughn Spurlin's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of NetBeans: The Definitive Guide are European tree frogs (Hyla arboria). These tiny amphibians inhabit verdant European forests. Like most tree frogs, they have suction pads on the end of each toe that allow them to cling to plants, but European tree frogs can be distinguished from other species by a whitebordered black line that runs from their nostrils to their hind legs. They are generally green in color, though their shade often changes to match their surroundings and help them hide from predators. Less than two inches long, tree frogs are an attractive snack for snakes, lizards, birds, and large fish. Because they are coldblooded, tree frogs often stay in the sun, snapping up flies and other tiny insects with their long sticky tongues. The most distinctive feature in the males is a well-developed vocal sac; when calling this sac can expand to be larger than the frog's head. The male's sac is creased and usually darker than the rest of his body, while the female's is smoother, smaller, and lighter in color. European tree frogs usually spawn in ponds during spring or early summer. At dusk, males claim an area from which to call females, who arrive later in the evening and choose a mate if they are ready to spawn. The female lays up to 1,000 eggs, which sink to the bottom of the pond. Tadpoles hatch in 12-14 days, and develop their hind legs a month later. Once the tadpoles become frogs, they will leave the water until they are old enough to spawn. An individual female will spawn only once a season, but males do so throughout the summer. These frogs are notoriously difficult to breed in captivity, but are often kept as pets because of their expressive features, distinctive coloring, and ability to stick to the sides of glass terrariums. Phil Dangler was the production editor for NetBeans: The Definitive Guide. Argosy provided production services and wrote the index. Emily Quill and Jane Ellin provided quality control. Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from Animal Creation, Volume 5. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. David Futato designed the interior layout. This book was converted from XML to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Philip Dangler. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Brett McLaughlin
May 2002
By Steven Roman, PhD
January 2002
Ebook: $27.99
Print & Ebook: $38.45
Print: $34.95
By Matt Welsh, Matthias Kalle Dalheimer, Terry Dawson, Lar Kaufman
December 2002
|
Customer Reviews
3/10/2005 (6 of 6 customers found this review helpful) 3/17/2004 (4 of 4 customers found this review helpful) 1.0NetBeans: The Definitive Guide Review 3/18/2003 (4 of 4 customers found this review helpful) 1.0NetBeans: The Definitive Guide Review
|
|
|