[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

Application Lifecycle and Hooks

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

Authentication and Authorization in Platform Apps

Logging and Error Handling

Tip of the Day

JavaHelp

Native libraries in NetBeans

Custom Project Types

Look and Design

Deploying Changes through AutoUpdate and using Autoupdate API

Programmatic access to Java Sources

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

When things go wrong: Troubleshooting


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?

How can i create a custom project type, from scratch

Dynamic Web Development

*note that this code is not displaying the components on the screen *what can i do please concerning this issue.

Attachments

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