Note: These pages are being reviewed.
- DevFaq wiki index
- Actions: How to add things to Files, Folders, Menus, Toolbars and more
- Application Lifecycle and Hooks
- Authentication and Authorization in Platform Apps
- Branding your application
- Command Line Parsing
- Configuration: How Modules Install Things
- Converting between common data types and finding things
- Creating a Custom Programming Language
- Deploying Changes through AutoUpdate and using Autoupdate API
- Deployment using installers / NBI
- Development issues, module basics and classpath issues, and information about RCP/Platform application configuration
- Dialogs API
- Editor and Edited Files
- File Management (within the IDE/Application)
- Files and Data Objects
- Getting Started
- Getting support, where to find examples
- HTML Browser
- JavaHelp
- Key Bindings
- Licensing Issues
- Logging and Error Handling
- Look and Design
- Lookup
- Mavenized Builds
- Module System
- NetBeans Developer FAQ
- Nodes and Explorer
- Output Window
- Printing
- Programmatic access to Java Sources
- Project Handling
- Project Types
- Properties and PropertySheet
- Running and Writing tests
- Settings
- Tasks and Progressbar
- Threading
- Tutorials and important starting points
- Using Enterprise Resources from NetBeans module
- Using Sounds
- Versioning
- When There Are Multiple Ways To Do Something…
- When things go wrong: Troubleshooting
- Window System
- Wizards and Templates
- XML Multiview API
DevFaq wiki index
Actions: How to add things to Files, Folders, Menus, Toolbars and more
-
How do I add an action to the context menu of a specific editor?
-
How do I add an action to a project popup menu of my own project type?
-
How do I make an action that is automatically enabled/disabled depending on what’s selected?
-
What is the Actions folder in the system filesystem, and why should I use it?
-
How do I add an action to the context menu of the members or hierarchy view?
-
How do I change the appearance of the menu items and toolbar buttons for my Action
-
How do I make a checkable/toggle-able action that represents a preference option?
-
How do I add a dropdown menu to toolbar that is selectively enabled/disabled?
-
How do I get the Open File item on the File menu into my platform application?
-
Looking at the UI how do I find a module that implements a menu item
-
How do I hide/remove default toolbar buttons and/or menu items?
-
How can I reuse and/or organise actions only by using annotations (@ActionReferences)?
-
How do I define and localise the keymap category of an action?
-
Some module in the IDE etc. already has a menu item I like, but I just want to rename it. Can I?
-
How do I remove Menu Item, Toolbar Button from plug-in’s XML Layer?
-
Can I install submenus into popups or other menus, instead of a regular action?
Application Lifecycle and Hooks
Authentication and Authorization in Platform Apps
Branding your application
Command Line Parsing
Configuration: How Modules Install Things
Converting between common data types and finding things
Creating a Custom Programming Language
Deploying Changes through AutoUpdate and using Autoupdate API
-
How can I find Javadoc of Autoupdate API with hints to use it?
-
How can I update the splash screen, title bar and other branding items via AutoUpdate?
-
How can I use AutoUpdate to deploy updates and new modules for my application?
-
How can I run the installer for something else during module installation?
Deployment using installers / NBI
Development issues, module basics and classpath issues, and information about RCP/Platform application configuration
-
How do I develop and debug annotations for NetBeans platform apps?
-
How can I have my application compiled in a specific version of the platform?
-
There is a class under org.netbeans.core that does what I need. Can I depend on it?
-
How to store external libraries in the NetBeans Hg repository
-
I need to package some third party libraries with my module. How do I do that?
-
My project.xml lists more dependencies than I really need. How can I fix it?
-
What is an implementation dependency and what/how/when should I use one?
-
Is there a standard way to provide user documentation (help) for my module?
-
Do I need to restart NetBeans every time to debug new changes?
-
I want to use one version of the Platform with another version of the build harness. Can I?
-
My module uses some libraries. I’ve tried setting CLASSPATH but it doesn’t work. Help!
-
Can I test changes to the IDE without going through the license check and so on?
-
How can I customize the default project directory for my application, replacing "NetBeansProjects"?
-
Can I work on just one or two modules from the NetBeans source base by themselves?
-
My module requires JDK 6 - how do I keep it from being loaded on an older release?
-
Where is TopManager? I’m trying to do the examples from the O’Reilly book
-
I am developing a NetBeans module. What performance criteria should it satisfy?
Dialogs API
Editor and Edited Files
-
How can I get the currently open document in the selected editor?
-
Can I add a menu item to the context menu of the Java source editor?
-
How can I get the position of the caret/line in the selected editor?
-
Project Encoding vs. File Encoding - What are the precedence rules used in NetBeans 6.0?
-
Is it safe to programmatically modify a file which is open in the editor?
-
How can I open a file in the editor at a particular line number and column?
File Management (within the IDE/Application)
Files and Data Objects
-
The next button is never enabled when I create my DataObject from a template. Help!
-
How do I add a menu item to the popup menu of every folder in the system?
-
I need to show a file chooser. How can I remember most-recently-used directories?
-
Can I add a menu item to the context menu of every Java source file?
-
I want to listen for changes in a file that may not exist or may be deleted and re-created
-
I am listening for changes in a folder/file but when there are changes I do not receive an event
-
How can I create declarative MIMEResolver and add new file type?
-
How do I add support for an XML type with a different extension?
Getting Started
Getting support, where to find examples
JavaHelp
Key Bindings
Licensing Issues
Logging and Error Handling
Look and Design
Lookup
-
How can I add support for lookups on nodes representing my file type?
-
If there is more than one of a type in a Lookup, which instance will I get?
-
After adding my class to Lookup I get a "ClassNotFoundException" when trying to look it up, why?
-
How can I register services into the lookup using the system filesystem?
Mavenized Builds
Module System
-
How can I change the NetBeans splash screen shown when an installed module requires restart?
-
Can I disable Auto Update (for example, while running tests)?
-
Why am I getting a ClassCastException when the class is clearly of the right type?
-
How can code in one module be notified when other modules are loaded or unloaded?
-
Can I create a console or server (non-GUI) app with the NetBeans Platform?
-
I want my module to disable some of the modules that would normally be enabled. Possible?
NetBeans Developer FAQ
Nodes and Explorer
-
How do I create a TopComponent (tab in the main window) to show some Nodes?
-
How do I make a particular node visible in the Explorer, and maybe select it?
-
I want to allow other modules to inject objects into my Node’s Lookup, or Actions into its actions
-
I have a Node.Property for a file. How can I control the file chooser that is the custom editor?
-
How can I implement "Select all/Deselect all/Invert selection" features?
-
How can I add a "View" capability for data my node represents?
-
How do I "decorate" nodes that come from another module (i.e. add icons, actions)?
-
How can I add horizontal scrolling support to the OutlineView component?
-
I need to write some code that tracks the global selection. What should I do?
Output Window
Programmatic access to Java Sources
Project Handling
Project Types
Properties and PropertySheet
Running and Writing tests
Settings
-
How to register options for export/import to module’s layer?
-
How can I configure my options panel to be found by global quicksearch or options search?
-
How do you open the option dialog with a preselected category?
-
How do I let the user set preferences/options/customization/configuration for my module/application?
Tasks and Progressbar
Threading
Tutorials and important starting points
Using Enterprise Resources from NetBeans module
When There Are Multiple Ways To Do Something…
When things go wrong: Troubleshooting
Window System
-
How can I customize the window system via the latest 7.1 techniques/enhancements?
-
I want to create a TopComponent class to use as an editor, not a singleton
-
How to mix lightweight (Swing) and heavyweight (AWT) components?
-
I want to show my own component(s) in the main window - where do I start?
-
[[DevFaqWindowsInternals|How does the window system really work?]]
-
I want to disable the popup menu on the toolbars in the main window. How do I do that?
-
My TopComponent always opens in the editor area, but I want it to open in the same place as XYZ
-
Why does TopComponent have a getLookup() method? What is it for?
-
How do I use .wstcrf/.wsmode/.settings files to install my module’s components in the window system?
-
How does the XML API for installing window system components work?
Wizards and Templates
-
How do I make a file template which actually creates a set of files at once?
-
I am creating a non-IDE application. How do I enable/control templates?
-
How to customize the button text of default buttons of a wizard (Finish, Cancel, etc.)?
-
How do I show that a user has filled an invalid input into my wizard?
XML Multiview API
-NOTE:* This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.