Home Page Icon
Home Page
Table of Contents for
About the Author
Close
About the Author
by Heiko Boeck
The Definitive Guide to NetBeans™ Platform
Copyright
Foreword
About the Author
About the Technical Reviewers
Acknowledgments
Introduction
How This Book Is Structured
1. Introduction: Let's Find Out What This Book Is All About!
1.1. What Is a Rich Client?
1.2. What Is a Rich Client Platform?
1.3. Advantages of a Rich Client Platform
1.3.1. Reduction in Development Time
1.3.2. User Interface Consistency
1.3.3. Updating
1.3.4. Platform Independence
1.3.5. Reusability and Reliability
1.4. Characteristics of the NetBeans Platform
1.4.1. User Interface Framework
1.4.2. Data Editor
1.4.3. Customization Display
1.4.4. Wizard Framework
1.4.5. Data Systems
1.4.6. Internationalization
1.4.7. Help System
1.5. Summary
2. Structure of the NetBeans Platform: Let's Find Out What It's Made Of!
2.1. NetBeans Platform Architecture
2.2. NetBeans Platform Distribution
2.3. NetBeans Runtime Container
2.4. NetBeans Classloader System
2.4.1. Module Classloader
2.4.2. System Classloader
2.4.3. Original Classloader
2.5. Summary
3. The Module System: Let's Understand the Basic Building Blocks!
3.1. Overview
3.2. Module Structure
3.3. Module Types
3.3.1. Regular
3.3.2. Autoload
3.3.3. Eager
3.4. Module Manifest
3.4.1. Attributes
3.4.1.1. Description
3.4.1.2. Versioning and Dependencies
3.4.1.3. Services and Interfaces
3.4.1.4. Visibility
3.4.2. Example
3.5. Module Layer
3.5.1. Order of Entries
3.5.2. Instance Files
3.5.3. Shadow Files
3.5.4. Settings Files
3.5.5. Creating and Using Your Own Contents
3.6. Creating Modules
3.7. Versioning and Dependencies
3.7.1. Versioning
3.7.2. Defining Dependencies
3.7.2.1. Module Dependencies
3.7.2.2. Java Package Dependency
3.7.2.3. Java Version Dependency
3.8. Lifecycle
3.9. Module Registry
3.10. Using Libraries
3.10.1. Library Wrapper Module
3.10.2. Adding a Library to a Module
3.11. Summary
4. Actions: Let's Make the NetBeans Platform Do Something!
4.1. Overview
4.2. Providing Action Classes
4.2.1. Always Enabled Actions
4.2.2. CallableSystemAction
4.2.3. CallbackSystemAction
4.2.4. CookieAction
4.2.5. General Context-Sensitive Action Classes
4.3. Registering Actions
4.4. Shortcuts and Mnemonics
4.5. Summary
5. User Interface Design: Let's Create Some Windows!
5.1. Overview
5.2. Menu Bar
5.2.1. Creating and Adding Menus and Menu Entries
5.2.2. Inserting Separators
5.2.3. Hiding Existing Menu Entries
5.2.4. Creating a Custom Menu Bar
5.3. Toolbars
5.3.1. Creating Toolbars
5.3.2. Configuring Toolbars
5.3.3. Modification by the User
5.3.4. Creating Custom Toolbars
5.3.5. Using Custom Control Elements
5.4. Window System
5.4.1. Introduction
5.4.2. Configuration
5.4.3. Customization
5.4.4. Window: TopComponent
5.4.4.1. Creating a TopComponent
5.4.4.2. States
5.4.4.3. Context Menu
5.4.4.4. Persistence
5.4.4.5. Registry
5.4.5. Docking Container: Mode
5.4.5.1. Creating a Mode
5.4.5.2. Modifying a Mode
5.4.6. Groups of Windows: TopComponentGroup
5.4.6.1. Creating a TopComponentGroup
5.4.6.2. Administration: WindowManager
5.4.6.3. Window System Architecture
5.5. Status Bar
5.5.1. Using the Status Bar
5.5.2. Extending the Status Bar
5.6. Progress Bar
5.6.1. Displaying the Progress of a Task
5.6.2. Displaying the Progress of Many Related Tasks
5.6.3. Integrating a Progress Bar into Your Component
5.7. Summary
6. Lookup: Let's Talk to Other Modules!
6.1. Functionality
6.2. Services and Extension Points
6.2.1. Defining the Service Interface
6.2.2. Loose Service Provisioning
6.2.3. Providing Multiple Service Implementations
6.2.4. Ensuring Service Availability
6.3. Global Services
6.4. Registering Service Providers
6.4.1. Service Provider Configuration File
6.4.1.1. Removal of a Service Provider
6.4.1.2. Order of Service Providers
6.4.2. Services Folder
6.5. Intermodule Communication
6.6. Java Service Loader
6.7. Summary
7. File Access and Display: Let's Use the NetBeans Platform to Work with Files!
7.1. Overview
7.2. File Systems API
7.2.1. Operations
7.2.1.1. Obtaining
7.2.1.2. Creating
7.2.1.3. Renaming
7.2.1.4. Deleting
7.2.1.5. Moving
7.2.1.6. Reading and Writing Files
7.2.1.7. Monitoring Changes
7.3. Data Systems API
7.3.1. DataObject
7.3.1.1. Implementing and Adding Cookies
7.3.1.2. Using Cookies
7.3.1.3. Providing Cookies Dynamically
7.3.1.4. Creating a DataObject Manually
7.3.2. DataObject Factory
7.3.3. DataLoader
7.3.3.1. Implementation
7.3.3.2. Registration
7.4. Nodes API
7.4.1. Node Container
7.4.1.1. Actions
7.4.1.2. Event Handling
7.4.2. Implementing Nodes and Children
7.5. Explorer & Property Sheet API
7.6. Summary
8. Graphical Components: Let's Show Some Interesting Views!
8.1. Dialogs API
8.1.1. Standard Dialogs
8.1.1.1. Information Dialog
8.1.1.2. Question Dialog
8.1.1.3. Input Dialog
8.1.1.4. Error Dialog
8.1.2. Custom Dialogs
8.1.3. Wizards
8.1.3.1. Wizard Architecture
8.1.3.2. Creating Panels
8.1.3.3. Creating a Wizard from Panels
8.1.3.4. Event Handling
8.1.3.5. Ending a Wizard Prematurely
8.1.3.6. Final Verification of Data
8.1.3.7. Iterators
8.2. MultiViews API
8.3. Visual Library API
8.3.1. Structure of the Visual Library API
8.3.2. The Widget Classes
8.3.2.1. Dependencies
8.3.2.2. Border
8.3.2.3. Layout
8.3.2.3.1. AbsoluteLayout
8.3.2.3.2. FlowLayout
8.3.2.3.3. CardLayout
8.3.2.3.4. OverlayLayout
8.3.3. Events and Actions
8.3.3.1. AcceptAction
8.3.3.2. ActionMapAction
8.3.3.3. AddRemoveControlPointAction
8.3.3.4. MoveAction/AlignWithMoveAction
8.3.3.5. ResizeAction/AlignWithResizeAction
8.3.3.6. ZoomAction/CenteredZoomAction
8.3.3.7. ConnectAction/ExtendedConnectAction/ReconnectAction
8.3.3.8. CycleFocusAction/CycleObjectSceneFocusAction
8.3.3.9. EditAction/InplaceEditorAction
8.3.3.10. ForwardKeyEventsAction
8.3.3.11. HoverAction
8.3.3.12. MoveControlPointAction/FreeMoveControlPointAction/OrthogonalMoveControlPointAction
8.3.3.13. PanAction
8.3.3.14. PopupMenuAction
8.3.3.15. SelectAction/RectangularSelectAction
8.3.3.16. SwitchCardAction
8.3.4. The Scene: The Root Element
8.3.4.1. Overview
8.3.4.2. Exporting a Scene
8.3.5. ObjectScene: Model-View Relationship
8.3.6. Graph
8.3.7. VMD: Visual Mobile Designer
8.4. Summary
9. Reusable NetBeans Platform Components: Let's See What We Get for Free!
9.1. Help System
9.1.1. Creating and Integrating a Helpset
9.1.1.1. module-hs.xml
9.1.1.2. module-map.xml
9.1.1.3. module-toc.xml
9.1.1.4. module-idx.xml
9.1.1.5. Help Topics
9.1.2. Adding Links to Help Topics
9.1.2.1. Links to External Sites
9.1.2.2. Links to Other Help Topics
9.1.3. Context-Sensitive Help
9.1.4. Opening the Help System
9.2. Output Window
9.3. Navigator
9.4. Properties Window
9.4.1. Providing Properties
9.4.2. User-Defined Properties Editor
9.5. Options Window
9.5.1. Providing an Options Panel
9.5.1.1. View and Controller
9.5.1.2. Registration
9.5.1.3. Open Option Panels
9.5.2. Settings Administration
9.6. Palette
9.6.1. Defining and Adding Palette Components via the Layer File
9.6.2. Creating a Palette from a Node Hierarchy
9.6.2.1. Node Classes for Creating and Displaying Data
9.6.2.2. Creating the Palette
9.6.2.3. Implementing Drag-and-Drop Functionality
9.7. Summary
10. Internationalization and Localization: Let's Translate Our Code!
10.1. String Literals in Source Code
10.2. String Literals in the Manifest File
10.3. Internationalization of Help Pages
10.4. Internationalizing Other Resources
10.4.1. Graphics
10.4.2. Any File
10.4.3. Folders and Files
10.5. Administration and Preparation of Localized Resources
10.6. Summary
11. Real-World Application Development: Let's Understand the Development Cycle!
11.1. Creation
11.2. Customization of Platform Modules
11.3. Customizing the Launcher
11.4. Distribution
11.4.1. Distribution As a ZIP Archive
11.4.2. Distribution via Java Web Start
11.4.3. Mac OS X Application
11.5. Summary
12. Updating a NetBeans Platform Application: Let's Allow the User to Add Features at Runtime!
12.1. Overview
12.2. The Auto Update Service
12.3. The NBM File
12.4. Update Centers
12.5. Localized NBM Files
12.6. Configuring and Installing on the Client
12.6.1. New Update Center
12.6.2. Automatically Installing Updates
12.7. Summary
13. Persistence: Let's Integrate Some Databases!
13.1. Java DB
13.1.1. Integrating Java DB
13.1.2. Driver Registration
13.1.3. Creating and Using a Database
13.1.4. Shutting Down a Database
13.1.5. Database Development with the Help of the NetBeans IDE
13.1.5.1. Setting Up and Starting the Java DB System
13.1.5.2. Integrating the Driver for the Java DB Server into Your Application
13.1.5.3. Setting Up and Configuring the Database
13.1.5.4. Access to a Database from Your Application
13.1.5.5. Creating and Importing Table Structures
13.1.6. Example Application
13.1.6.1. Configuration, Access, and Shutdown
13.1.6.2. Data Models and Data Access Models
13.1.6.3. Displaying and Working with the Data
13.2. Hibernate
13.2.1. Setting Up the Hibernate Libraries
13.2.2. Structure of the Example Application
13.2.3. Configuring Hibernate
13.2.4. Mapping Objects to Relations
13.2.5. SessionFactory and Sessions
13.2.6. Saving and Loading Objects
13.3. Java Persistence API
13.3.1. Hibernate and the Java Persistence API
13.3.2. Java Persistence Configuration
13.3.3. Entity Classes
13.3.4. EntityManagerFactory and EntityManager
13.3.5. Saving and Loading Objects
13.4. Summary
14. Web Services: Let's Integrate the Web!
14.1. Creating a Web Service Client
14.2. Using a Web Service
14.3. Summary
15. Extending the NetBeans IDE: Let's Add Some Features to the NetBeans IDE!
15.1. Palettes
15.1.1. Defining and Registering Palette Entries
15.1.2. Creating and Registering a PaletteController
15.1.3. Expanding Existing Palettes
15.2. Task List API
15.3. Summary
16. From Eclipse RCP to the NetBeans Platform: Let's Abandon SWT!
16.1. The NetBeans IDE
16.1.1. Standard Components
16.1.2. Handling Projects
16.2. From Eclipse Plugins to NetBeans Modules
16.2.1. Plugin: Lifecycle and Events
16.2.2. Plugin Information
16.2.3. Images
16.2.4. Resources
16.2.5. Settings
16.2.6. Application Lifecycle
16.2.7. Views and Editors
16.3. Summary
17. Tips and Tricks: Let's Get Some Cool Expert Tips!
17.1. Asynchronous Initialization of Graphic Components
17.2. Undo/Redo
17.3. Ending an Application's Lifecycle
17.4. WarmUp Tasks
17.5. System Tray
17.6. Desktop
17.7. Logging
17.7.1. Logger
17.7.2. LogManager
17.7.3. Configuration
17.7.4. Error Reports
17.8. Summary
18. Example: MP3 Manager: Let's Put It All Together!
18.1. Design
18.2. Creating the NetBeans Platform Application
18.3. Support for MP3
18.3.1. Creating the JMF Module
18.3.2. Registering the MP3 Plugin
18.3.3. MP3 File Type
18.4. ID3 Support
18.4.1. ID3 API
18.4.2. ID3 Editor
18.5. Media Library
18.6. Services
18.7. MP3 Player
18.7.1. Service Interface
18.7.2. Service Provider
18.7.3. Playback of MP3 Files
18.7.4. User Interface
18.8. Playlist
18.8.1. Node View
18.8.2. Node Container
18.8.3. TopComponent
18.8.4. Drag-and-Drop
18.8.5. Saving the Playlist
18.9. Summary
A. Important NetBeans Extension Points and Configuration DTDs
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Foreword
Next
Next Chapter
About the Technical Reviewers
About the Author
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset