[RSS]

NetBeans Developer FAQ

This is the developer-oriented FAQ for NetBeans IDE 4.x, 5.x, and 6.x. Developer in this context means "person writing NetBeans extension modules (plug-ins), or applications based on the NetBeans platform". Don't see your developer-oriented question here? Ask on dev@openide.netbeans.org (subscribe to post). Not writing modules? See the list of other FAQs.

For offline use, you can also download the entire FAQ as a giant HTML file. (Automatically refreshed daily.)

Here's How To Add FAQ Entries. One Big Important Thing about adding developer FAQ entries: If they don't start with "DevFaq" they are not going to get indexed properly. Please add items, but please follow this simple guideline.


Getting Started

Tutorials and important starting points

Getting support, where to find examples

Development issues, module basics and classpath issues, and information about RCP/Platform application configuration

Configuration: How modules install things

Actions: How to add things to Files, Folders, Menus, Toolbars and more

Key Bindings

Lookup

Files and Data Objects

Converting between common data types and finding things

Editor and Edited Files

Module System

Nodes and Explorer

Command Line Parsing

Settings

The following three are not applicable to 6.0, where a new API, NbPreferences, discussed in the above links, is used instead:

Window System

Dialogs API

XML Multiview API

Project Types

Saving

Printing

Wizards and Templates

Properties and PropertySheet

Output Window

Annotations

Using Enterprise Resources from NetBeans module

Writing tests

NetBeans Developer Test FAQ

Branding your application

Login Screen

Logging

Tip of the Day

JavaHelp

Native libraries in NetBeans

Custom Project Types

Look and Design

Deploying Changes through AutoUpdate

Programmatic access to Java Sources

The following applies only to NetBeans 6.0 and 6.1. See Java_DevelopersGuide for details.


Some more questions that could be answered

Create a new file and set its contents to something?

I added a bunch of cookies to my data object, but still things like Open are not on the context menu.

Listen to renames, deletes, creations, modifies, saves of files?

What is a "data object representation class" anyway?

How to capture double-click on a node to do something else? What about when a template is instantiated?

How do I tell when a piece of source code has been modified by the user?

Can I add templates from my module? What is the easiest way to do this?

What is the relationship between EditorCookie, StyledDocument, and NbDocument & EditorSupport?

Save, rename a file?

How can i show and hide menu items depending on condition?

Attachments

Doc1.docx Info on Doc1.docx 170804 bytes
faq.html.gz Info on faq.html.gz 141505 bytes