The book "Rich Client Programming: Plugging
into the NetBeans Platform", published in May 2007, provides
a set of samples, each of which relate to a chapter in
the book. If you are reading this help topic, you have
installed the samples. To open a sample, choose
File > New Project and then look in the
Samples | NetBeans Plug-in Modules category.
The samples provided are as follows:
Action Demo Module. See the chapter called
"Filesystems". This sample illustrates how
to add menus to a NetBeans module.
CardsSuite. See the chapter called
"Nodes, Explorer Views, Actions and Presenters". This sample
provides a card game, using two modules, "Cards"
and "CardsUI" to do so.
Custom Save Action. See the chapter called
"Nodes, Explorer Views, Actions and Presenters". This
sample illustrates a context aware action.
Manifest Code Completion. See the chapter called
"Code Completion". This sample illustrates a use case for the
Editor Code Completion API.
Manifest Editor. See the chapter called
"MultiView Editors". This sample shows a multiview editor
for manifest files, with plain text as the 'Source' view
and a properties sheet in the 'Design' view.
Manifest Hyperlinking. See the chapter called
"Hyperlinks". This sample provides hyperlinks in manifest files.
Manifest Lexer. See the chapter called
"Syntax Highlighting". This sample uses the Lexer API to tokenize
manifest files and colorize the tokens.
Manifest Support. See the chapter called
"DataObjects and DataLoaders". This sample illustrates how to let the IDE
recognize a new file type.
My Advanced Palette. See the chapter called
"Component Palettes". This sample provides a palette filter. When a checkbox
is selected, new entries are shown in the palette.
My First Palette. See the chapter called
"Component Palettes". This sample provides a simple palette with cards that
can be dragged, dropped, and redragged on a TopComponent.
Pseudo Navigator Suite. See the chapter called
"Threading, Listener Patterns, and MIME Lookup". This sample is a module suite, containing two modules that demonstrate
the creation of a modular API. It
introduces the Editor MIME Lookup API.
ScratchPad. See the chapter called
"The Window System". This sample is illustrates a TopComponent, which
simply contains a text area for text that can be pasted
and copied..
System Filesystem Viewer. See the chapter called
"Nodes, Explorer Views, Actions and Presenters". This sample lets you browse the system file system and view
its folders and files.
URLSuite. See the chapter called
"Filesystems". This sample is a suite for the "Folder Of URLs" sample, which
illustrates how to get URL objects
represented by files in a given folder.
Validation Suite. See the chapter called
"Modular Architecture". This sample is used to argue the case for modular
application development and shows a way for multiple
modules to communicate using initialization code -
e.g. own ModuleInstaller.
Validation Suite with Declarative Registration. See the chapter called
"Modular Architecture". This sample is used to argue the case for modular
application development and shows communication between
multiple modules using NetBeans declarative extension points
- e.g. Lookup and META-INF/services/ registrations.
Wicket Web Framework Support. See the chapter called
"Web Frameworks". This sample illustrates how to begin providing tooling support for
a framework. In this case, the Wicket framework is used. For details
and a more advanced version of this framework support module,
see