wiki-convert/wiki-asciidoc/index.asciidoc (461 lines of code) (raw):
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//
= index
:jbake-type: wiki
:jbake-tags: wiki, devfaq, needsreview
:jbake-status: published
= Index
== Actions: How to add things to Files, Folders, Menus, Toolbars and more
* link:DevFaqActionAddAnyFolder.html[How do I add an action to any folder?]
* link:DevFaqActionAddDataObject.html[How do I add an action to my custom node?]
* link:DevFaqActionAddEditorPopup.html[How do I add an action to the context menu of a specific editor?]
* link:DevFaqActionAddFileMime.html[How do I add an action to all files of a given mime-type?]
* link:DevFaqActionAddFolder.html[How do I add an action to a folder?]
* link:DevFaqActionAddJavaPackage.html[How do I add an action to an Java package?]
* link:DevFaqActionAddMenuBar.html[How do I add an action to the main menu?]
* link:DevFaqActionAddProjectOwnTypePopUp.html[How do I add an action to a project popup menu of my own project type?]
* link:DevFaqActionAddTabPopup.html[How do I add an action to the global popup menu of tabs?]
* link:DevFaqActionAddToContextMenuOfAllEditors.html[How do I add an action to the context menu of all editors?]
* link:DevFaqActionAddToEditorToolbar.html[How do I add an action to the toolbar of the editor?]
* link:DevFaqActionAddToolBar.html[How do I add an action to a toolbar in the main window?]
* link:DevFaqActionAddTools.html[How do I add an action to the tools menu?]
* link:DevFaqActionContextSensitive.html[How do I make an action that is automatically enabled/disabled depending on what's selected?]
* link:DevFaqActionNodePopupSubmenu.html[How do I make my Node have a submenu on its popup menu?]
* link:DevFaqActionsAddAtRuntime.html[How do I add an action (incl. shortcut) at runtime?]
* link:DevFaqActionsFolder.html[What is the Actions folder in the system filesystem, and why should I use it?]
* link:DevFaqAddActionToMembersOrHierarchyView.html[How do I add an action to the context menu of the members or hierarchy view?]
* link:DevFaqAddGlobalContext.html[How do I add content to the Global Context?]
* link:DevFaqAddIconToContextMenu.html[How do I add an icon to the context menu?]
* link:DevFaqAddMacroableAction.html[How do I create an action which can be invoked by a macro?]
* link:DevFaqChangeMenuItemToolbarAppearanceForAction.html[How do I change the appearance of the menu items and toolbar buttons for my Action]
* link:DevFaqCheckableActionPreferenceOption.html[How do I make a checkable/toggle-able action that represents a preference option?]
* link:DevFaqDropdownMenuAddToolbar.html[How do I add a dropdown menu to toolbar?]
* link:DevFaqDropdownMenuAddToolbarEnabled.html[How do I add a dropdown menu to toolbar that is selectively enabled/disabled?]
* link:DevFaqFileOpenAction.html[How do I get the Open File item on the File menu into my platform application?]
* link:DevFaqFindLocationInSourcesFromUi.html[Looking at the UI how do I find a module that implements a menu item]
* link:DevFaqHideRemoveToolbarMenu.html[How do I hide/remove default toolbar buttons and/or menu items?]
* link:DevFaqHideShowToolbar.html[How do I hide/show toolbar dynamically?]
* link:DevFaqHowCreateAnActionObject.html[How can I to create an Action object and attach this action to one or more components on frame without manually editing Generated Code?]
* link:DevFaqHowOrganizeOrReuseExistingActionsWithAnnotations.html[How can I reuse and/or organise actions only by using annotations (@ActionReferences)?]
* link:DevFaqHowToDefineTheKeyMapCategoryForAnAction.html[How do I define and localise the keymap category of an action?]
* link:DevFaqInvokeActionProgrammatically.html[How do I invoke an action programmatically?]
* link:DevFaqJSeparatorInMainToolbar.html[How can I add a JSeparator to the main toolbar?]
* link:DevFaqLogActionStartup.html[How do I invoke the IDE-Log upon Startup?]
* link:DevFaqMainwindowClosingAction.html[How do i change the closing action of the MainWindow?]
* link:DevFaqRenamingMenuItem.html[Some module in the IDE etc. already has a menu item I like, but I just want to rename it. Can I?]
* link:DevFaqSwitchingMenusByContext.html[Can I change the contents of a menu according to the selected file in the editor, or hide or show a whole menu?]
* link:DevFaqToggleActionAddToEditorToolbar.html[How do I add a toggle-able action to the toolbar/main menu?]
* link:DevFaqTweakRegistryByCodeDeduction.html[How do I remove Menu Item, Toolbar Button from plug-in's XML Layer?]
* link:DevFaqTweakRegistryByCodeReplacement.html[How do I have only Shortcut Keys for an Action?]
* link:DevFaqUsingSubmenus.html[Can I install submenus into popups or other menus, instead of a regular action?]
== Application Lifecycle and Hooks
* link:DevFaqAppLifecycleHooks.html[What are some of the hooks in the application's lifecycle I can plug into?]
== Authentication and Authorization in Platform Apps
* link:DevFaqPlatformAppAuthStrategies.html[Other strategies for authentication and authorization]
== Branding your application
* link:BrandingAboutDialog.html[Branding About Dialog]
* link:BrandingUpdaterSplash.html[Branding Updater Splash]
* link:DevFaqRemoveStatusBar.html[How do I remove the status bar?]
* link:DevFaqVersionNumber.html[How do I set the version number?]
* link:TranslateNetbeansModule.html[Translating a NetBeans Module]
== Command Line Parsing
* link:HowToEnableDisableMenusFromCommandLine.html[Can something that the user sets on the command line determine whether a menu item is enabled?]
* link:HowToEnableDisableModulesFromCommandLine.html[Same as the above, but this time for enabling/disabling modules?]
* link:HowToPassCommandLineArgumentsToANetBeansPlatformApplicationWhenRunInsideTheIDE.html[How to pass command line arguments to a NetBeans Platform application when run inside the IDE]
== Configuration: How Modules Install Things
* link:DevFaqDotSettingsFiles.html[What are .settings files?]
* link:DevFaqDotShadowFiles.html[What are .shadow files?]
* link:DevFaqDynamicSystemFilesystem.html[Can I dynamically change the contents of the System Filesystem at runtime?]
* link:DevFaqFilesystemSee.html[How can I see the filesystem?]
* link:DevFaqInstalledFileLocator.html[Can I bundle some additional files with my module? If so, how can I find those files to use them from my module?]
* link:DevFaqInstanceDataObject.html[What are .instance files?]
* link:DevFaqModulesGeneral.html[What are the ways a module can influence the system?]
* link:DevFaqModulesLayerFile.html[What is an XML layer?]
* link:DevFaqModulesStartupActions.html[How do I run some code when my module starts/loads/unloads?]
* link:DevFaqOrderAttributes.html[How do I specify the order for my menu items/toolbar buttons/files in the system filesystem?]
* link:DevFaqSystemFilesystem.html[What is the system filesystem?]
* link:DevFaqUserDir.html[What is the user directory, what is in it, and why do I need one?]
== Contributor Agreement
* link:FaqBlanketJCAForEmployees.html[Can my company sign a blanket JCA for all its employees?]
* link:FaqCAAndRejectedContribution.html[I tried to make a contribution to netbeans.org and signed a CA, but my contribution was not accepted. What is the result?]
* link:FaqCAForEveryContribution.html[Do I have to file a CA for every contribution?]
* link:FaqCanICancelCA.html[Once I have a CA on file, can I change my mind and cancel?]
* link:FaqCanIFileByEmail.html[Can I file my completed CA by e-mail?]
* link:FaqCompanyOrIndividualCA.html[If my company wants me to contribute changes, who should sign the CA, me or my company?]
* link:FaqDoINeedACA.html[Do I have to fill out a CA?]
* link:FaqHowDoIFileACA.html[How do I file a completed CA?]
* link:FaqJCAAndCA.html[I've already signed a JCA; do I still have to sign the CA?]
* link:FaqListedOnCopyright.html[I have a CA or JCA on file and I have made a code contribution to netbeans.org. Can I get listed on the copyright notice?]
* link:FaqOtherSunCA.html[I've already signed a CA for another Oracle project, do I need to sign another one for NetBeans?]
* link:FaqWhatIsCA.html[What is the Contributor Agreement ("CA")?]
* link:FaqWhichVersionCA.html[I've already signed a recent version of the CA, do I need to sign the newest version?]
* link:FaqWhyTheCA.html[Why does NetBeans request a CA?]
== Converting between common data types and finding things
* link:DevFaqDataObjectFileObject.html[How do I get a DataObject for a FileObject?]
* link:DevFaqDataObjectNode.html[How do I get a DataObject for a Node?]
* link:DevFaqFileFileObject.html[How do I get a java.io.File for a FileObject?]
* link:DevFaqFileObjectDataObject.html[How do I get a FileObject for a DataObject?]
* link:DevFaqFileObjectFile.html[How do I get a FileObject for a File?]
* link:DevFaqFileVsFileObject.html[FileObjects versus Files]
* link:DevFaqFindInstance.html[I have a .instance file. How do I get an actual object instance?]
* link:DevFaqFindSfs.html[How do I get a reference to the system filesystem?]
* link:DevFaqFolderOfInstances.html[I have a folder full of .instance files. How do I get any/all of the object instances?]
* link:DevFaqNodeDataObject.html[How do I get a Node for a DataObject?]
* link:DevFaqUriVsUrl.html[URIs and URLs]
== Creating a Custom Programming Language
* link:DevFaqCustomDebugger.html[How can I create a custom Debugger for my language?]
* link:DevFaqSyntaxHighlight.html[How do I add syntax highlighting for my language?]
== Deploying Changes through AutoUpdate and using Autoupdate API
* link:DevFaqAutoUpdateAPIJavadoc.html[How can I find Javadoc of Autoupdate API with hints to use it?]
* link:DevFaqAutoUpdateBranding.html[How can I update the splash screen, title bar and other branding items via AutoUpdate?]
* link:DevFaqAutoUpdateCheckEveryStartup.html[How to force to check for updates at every startup?]
* link:DevFaqCustomUpdateCenter.html[How can I use AutoUpdate to deploy updates and new modules for my application?]
* link:DevFaqHowToChangeUpdateCenterURL.html[How to change the update center URL via code?]
* link:DevFaqNBMPack200.html[How to deal with pack200 compression in NBM?]
* link:DevFaqNbmPostInstall.html[How to specify post-install code in NBM?]
* link:DevFaqUseNativeInstaller.html[How can I run the installer for something else during module installation?]
* link:FaqPluginManagerCustomization.html[What other documentation is available about AutoUpdate?]
== Deployment using installers / NBI
* link:DevInstallerAddVersioningInfo.html[How to add versioning information to be shown in "Installed Programs" (Windows-only)?]
== Development issues, module basics and classpath issues, and information about RCP/Platform application configuration
* link:DevFaq2SrcPaths.html[How do I have two source directories within one module?]
* link:DevFaqAnnotationDevelopDebug.html[How do I develop and debug annotations for NetBeans platform apps?]
* link:DevFaqApiSpi.html[What is an SPI? How is it different from an API?]
* link:DevFaqAutomaticPlatformDownload.html[How can I have my application compiled in a specific version of the platform?]
* link:DevFaqClassLoaders.html[What classloaders are created by the module system?]
* link:DevFaqCustomizeBuild.html[How can I customize the build process?]
* link:DevFaqDependOnCore.html[There is a class under org.netbeans.core that does what I need. Can I depend on it?]
* link:DevFaqExternalLibraries.html[How to store external libraries in the NetBeans Hg repository]
* link:DevFaqHowPackageLibraries.html[I need to package some third party libraries with my module. How do I do that?]
* link:DevFaqHowToFixDependencies.html[My project.xml lists more dependencies than I really need. How can I fix it?]
* link:DevFaqHowToReuseModules.html[Can I use modules from update center in my RCP application?]
* link:DevFaqImplementationDependency.html[What is an implementation dependency and what/how/when should I use one?]
* link:DevFaqJavaHelp.html[Is there a standard way to provide user documentation (help) for my module?]
* link:DevFaqMemoryLeaks.html[How can I fix memory leaks?]
* link:DevFaqMigratingToNewerPlatform.html[Migrating to a newer version of the Platform]
* link:DevFaqModuleDependencies.html[How do module dependencies/classloading work?]
* link:DevFaqModulePatching.html[How do I create a patch for a preexisting NetBeans module?]
* link:DevFaqModuleReload.html[Do I need to restart NetBeans every time to debug new changes?]
* link:DevFaqNativeLibraries.html[How do I add native libraries?]
* link:DevFaqNbIdiosyncracies.html[Common calls that should be done slightly differently in NetBeans than standard Swing apps (loading images, localized strings, showing dialogs)]
* link:DevFaqNbPlatformAndHarnessMixAndMatch.html[I want to use one version of the Platform with another version of the build harness. Can I?]
* link:DevFaqNetBeansClasspath.html[My module uses some libraries. I've tried setting CLASSPATH but it doesn't work. Help!]
* link:DevFaqNetBeansFullHack.html[Can I test changes to the IDE without going through the license check and so on?]
* link:DevFaqNetBeansProjectsDirectory.html[How can I customize the default project directory for my application, replacing "NetBeansProjects"?]
* link:DevFaqNoClassDefFound.html[My module uses class XYZ from NetBeans' APIs. It compiles, but I get a NoClassDefFoundError at runtime. Why?]
* link:DevFaqOrphanedNetBeansOrgModules.html[Can I work on just one or two modules from the NetBeans source base by themselves?]
* link:DevFaqPlatformRuntimeProperties.html[I want to set some flags or CLI arguments for running my NB RCP/Platform based application (such as disable assertions). How do I do that?]
* link:DevFaqProfiling.html[How can I profile NetBeans?]
* link:DevFaqRuntimeMemory.html[How to run module with more PermGen and Heap memory?]
* link:DevFaqSignNbm.html[Can I sign NBMs I create?]
* link:DevFaqSpecifyJdkVersion.html[My module requires JDK 6 - how do I keep it from being loaded on an older release?]
* link:DevFaqSuitesVsClusters.html[What is the difference between a suite and a cluster?]
* link:DevFaqTopManager.html[Where is TopManager? I'm trying to do the examples from the O'Reilly book]
* link:DevFaqUIResponsiveness.html[I am developing a NetBeans module. What performance criteria should it satisfy?]
* link:DevFaqUiDefaultsPropsNotFound.html[Why can't I load properties using UIDefaults?]
* link:DevFaqWeakListener.html[What is a WeakListener?]
* link:DevFaqWeakListenerWhen.html[When should I use a WeakListener?]
* link:DevFaqWhatIsACluster.html[What is a module cluster?]
* link:DevFaqWhatIsNbm.html[What is an "NBM"?]
* link:DevFaqWhenUseWrapperModule.html[When should I use a library wrapper module and when should I just package the library into my module?]
* link:DevFaqWrapperModules.html[What is a library wrapper module and how do I use it?]
* link:FaqRunSameTargetOnAllModules.html[How can I launch an Ant Task on all modules of my suite?]
== Dialogs API
* link:DevFaqDialogControlOKButton.html[How can I control when the OK button is enabled]
* link:DevFaqDialogsApiIntro.html[What is the Dialogs API and How Do I Use It?]
== Editor and Edited Files
* link:DevFaqEditorCodeCompletionAnyJEditorPane.html[How to add code completion to any JEditorPane]
* link:DevFaqEditorGetCurrentDocument.html[How can I get the currently open document in the selected editor?]
* link:DevFaqEditorHowIsMimeLookupComposed.html[How is MimeLookup composed?]
* link:DevFaqEditorHowToAddCodeTemplates.html[How to add code templates?]
* link:DevFaqEditorHowToAddDiffView.html[How to use the diff view in my own application/plugin?]
* link:DevFaqEditorHowToGetMimeTypeFromDocumentOrJTextComponent.html[How to get mime type from Document or JTextComponent?]
* link:DevFaqEditorHowToReuseEditorHighlighting.html[How to reuse XML syntax highlighting in your own editor]
* link:DevFaqEditorJEPForMimeType.html[How can I create JEditorPane for a specific document type?]
* link:DevFaqEditorWhatIsMimeLookup.html[What is MimeLookup?]
* link:DevFaqEditorWhatIsMimePath.html[What is MimePath?]
* link:DevFaqFileEditorContextMenuAddition.html[Can I add a menu item to the context menu of the Java source editor?]
* link:DevFaqFindCaretPositionInEditor.html[How can I get the position of the caret/line in the selected editor?]
* link:DevFaqGetOpenEditorWindows.html[How can I get a list of open editors/documents?]
* link:DevFaqI18nFileEncodingQueryObject.html[Project Encoding vs. File Encoding - What are the precedence rules used in NetBeans 6.0?]
* link:DevFaqListenEditorChanges.html[How can I track what file the user is currently editing?]
* link:DevFaqModifyOpenFile.html[Is it safe to programmatically modify a file which is open in the editor?]
* link:DevFaqMultipleProgrammaticEdits.html[I want to make some programmatic changes to the edited file. How can I do it so one Undo undoes it all?]
* link:DevFaqOpenFileAtLine.html[How can I open a file in the editor at a particular line number and column?]
* link:DevFaqOpenReadOnly.html[How can I open a file in the editor in read-only mode?]
* link:DevFaqSyntaxColoring.html[Can I add syntax coloring for my own data object/MIME type?]
== File Management (within the IDE/Application)
* link:DevFaqOpenFile.html[How can I open a file in the IDE programatically?]
== Files and Data Objects
* link:DevFaqDataLoader.html[What is a DataLoader?]
* link:DevFaqDataObject.html[What is a DataObject?]
* link:DevFaqDataObjectInItsCookieSet.html[The next button is never enabled when I create my DataObject from a template. Help!]
* link:DevFaqDataSystemsAddPopupToAllFolders.html[How do I add a menu item to the popup menu of every folder in the system?]
* link:DevFaqFileAttributes.html[What are file attributes?]
* link:DevFaqFileChoosers.html[I need to show a file chooser. How can I remember most-recently-used directories?]
* link:DevFaqFileContextMenuAddition.html[Can I add a menu item to the context menu of every Java source file?]
* link:DevFaqFileObject.html[What is a FileObject?]
* link:DevFaqFileObjectInMemory.html[How can I create a FileObject in memory?]
* link:DevFaqFileRecognition.html[How does NetBeans recognize files?]
* link:DevFaqFileSystem.html[What is a FileSystem?]
* link:DevFaqImplementFilesystem.html[I'm having trouble implementing this filesystem....]
* link:DevFaqListenForChangesInNonExistentFile.html[I want to listen for changes in a file that may not exist or may be deleted and re-created]
* link:DevFaqListenForOpenEvents.html[How can I be notified when a file is opened?]
* link:DevFaqListenForSaveEvents.html[How can I be notified when a file is modified and saved?]
* link:DevFaqListeningForFileChanges.html[I am listening for changes in a folder/file but when there are changes I do not receive an event]
* link:DevFaqMIMEResolver.html[How can I create declarative MIMEResolver and add new file type?]
* link:DevFaqNewXMLFileType.html[How do I add support for an XML type with a different extension?]
== Getting Started
* link:DefFaqMapApisToTasks.html[What API do I want to use for x, y or z?]
* link:DevFaqAccessSourcesUsingMercurial.html[How do I get sources for NetBeans using Mercurial (hg)?]
* link:DevFaqAccessSourcesWeb.html[How do I get zipped sources for a periodic build?]
* link:DevFaqBecomingProficient.html[Becoming a proficient module developer]
* link:DevFaqGeneralPackageNamingConventions.html[Why are some packages org.netbeans.api.something and others are org.netbeans.something.api?]
* link:DevFaqGeneralWhatIsNetBeansExe.html[What is netbeans.exe, who compiles it and why is it there?]
* link:DevFaqGeneralWhereIsJavadoc.html[Where can I find Javadoc for the IDE and Platform?]
* link:DevFaqGeneralWhereIsPlatformHowToBuild.html[Where is the Platform and how can I build it?]
* link:DevFaqLibrariesModuleDescriptions.html[In the Libraries tab of my application's Project Properties, there sure are a lot of modules listed. What are they for]
* link:DevFaqNetBeansPlatformManager.html[How do I set up a NetBeans Platform in the IDE?]
* link:DevFaqSellingModules.html[I have written a module. Can I sell it?]
* link:DevFaqSourceTreeModuleDescriptions.html[There sure are a lot of modules in the source tree. What are they for]
* link:DevFaqWhatIsAModule.html[What is a module?]
== Getting support, where to find examples
* link:DevFaqFileBug.html[Filing a bug report]
* link:DevFaqMoreDocsOnCertainAPIs.html[Where can I find more documentation on certain APIs?]
* link:DevFaqSampleCode.html[Examples of how to use various APIs]
* link:NetBeansCertifiedEngineerCourse.html[Can I get training material for the NetBeans Certification course?]
== HTML Browser
* link:DevFaqHowToOpenURL.html[How to open a URL in the internal/default HTML browser?]
== JavaHelp
* link:DevFaqHelpGuidelines.html[JavaHelp integration guide]
* link:DevFaqIdeWelcome.html[How do I fix problems about 'ide.welcome'?]
* link:DevFaqJavaHelpForNodeProperties.html[How can I hook up JavaHelp to property sets or individual properties?]
* link:DevFaqJavaHelpNotDisplayed.html[Why doesn't my JavaHelp content show up?]
* link:DevFaqJavaHelpOverrideCustom.html[How can I override JavaHelp to display my own custom help or documentation?]
== Key Bindings
* link:DevFaqAddDefaultActionShortcuts.html[How do I add default shortcuts for SystemActions (like cut, paste, etc)?]
* link:DevFaqAddShortCutForAction.html[How to set the shortcut of an action outside of your own module?]
* link:DevFaqGetShortCutForAction.html[How to get the shortcut/shortkey of an action at runtime?]
* link:DevFaqGlobalVsEditorKeybindings.html[What about editor-specific keybindings?]
* link:DevFaqKeybindings.html[How do key bindings work?]
* link:DevFaqKeybindingsInUse.html[Which keybindings are already being used?]
* link:DevFaqLogicalKeybindings.html[Why should I use D- for Ctrl and O- for Alt? I thought C- stood for Ctrl and A- stood for Alt!]
* link:DevFaqOrderActions.html[I want my action to appear between two existing items/in a specific place in the menu. Can I do that?]
* link:DevFaqRebindingKeys.html[Binding one key to more than one action]
== Licensing Issues
* link:DevFaqEpl3rdPartySources.html[Where to download sources of EPL third-party components?]
* link:DevFaqLgpl3rdPartySources.html[Where to download sources of LGPL third-party components?]
* link:DevFaqLic3rdPartyComponents.html[NetBeans Platform and 3rd party components]
* link:DevFaqMpl3rdPartySources.html[Where to download sources of MPL third-party components?]
== Logging and Error Handling
* link:DevFaqAddTimestampToLogs.html[How can I add a timestamp to the logs?]
* link:DevFaqCustomizingUnexpectedExceptionDialog.html[How can I customize the Unexpected Exception dialog?]
* link:DevFaqLogging.html[Using java.util.logging in NetBeans]
* link:DevFaqUIGestures.html[UI Logging through Gestures Collector]
* link:DevFaqUnexpectedExceptionDialog.html[How can I suppress the Unexpected Exception dialog?]
== Look and Design
* link:DevFaqChangeLookAndFeel.html[How can I set the Swing look and feel on startup?]
* link:DevFaqCustomFontSize.html[I have a custom component. How can I make it respond to --fontsize like the rest of NetBeans?]
* link:DevFaqImagesForDarkLaf.html[How to provide non-inverted images for dark LookAndFeels like DarkMetal/Darcula?]
== Lookup
* link:DevFaqLookup.html[What is a Lookup?]
* link:DevFaqLookupContents.html[How can I find out what is in a Lookup]
* link:DevFaqLookupCookie.html[What is the difference between getCookie(Class), SharedClassObject.findObject(Class) and Lookup.lookup(Class)?]
* link:DevFaqLookupDefault.html[What is the "default Lookup"?]
* link:DevFaqLookupEventBus.html[Event Bus in NetBeans]
* link:DevFaqLookupForDataNode.html[How can I add support for lookups on nodes representing my file type?]
* link:DevFaqLookupGenerics.html[How do I use Java generics with Lookup?]
* link:DevFaqLookupHowToOverride.html[How can I override an instance in the Lookup?]
* link:DevFaqLookupImplement.html[How do I implement my own lookup or proxy another one?]
* link:DevFaqLookupLazyLoad.html[How do I lazy-load an item in the lookup?]
* link:DevFaqLookupNonSingleton.html[If there is more than one of a type in a Lookup, which instance will I get?]
* link:DevFaqLookupPackageNamingAndLookup.html[After adding my class to Lookup I get a "ClassNotFoundException" when trying to look it up, why?]
* link:DevFaqLookupVsHashmap.html[Why use Lookup - wouldn't a Map be good enough?]
* link:DevFaqLookupWhere.html[What uses Lookup?]
* link:DevFaqSysFsLookupRegistration.html[How can I register services into the lookup using the system filesystem?]
* link:DevFaqWhenLookup.html[When should I use Lookup in my own APIs?]
== Mavenized Builds
* link:DevFaqMavenHowToMigrateFromANT.html[How to convert an ANT-based NetBeans Module to a Maven-based NetBeans Module?]
* link:DevFaqMavenL10N.html[How can I create localization modules using Maven?]
* link:DevFaqMavenPlatformRebel.html[Can I use JRebel to speed up development?]
* link:DevFaqMavenSystemScope.html[Why can't I use system scope for a library wrapper module?]
== Module System
* link:Autoload.html[What is an autoload module?]
* link:DevFaqChangeRestartSplash.html[How can I change the NetBeans splash screen shown when an installed module requires restart?]
* link:DevFaqDisableAutoupdate.html[Can I disable Auto Update (for example, while running tests)?]
* link:DevFaqFixDependencies.html[How fix module dependencies automatically?]
* link:DevFaqModuleCCE.html[Why am I getting a ClassCastException when the class is clearly of the right type?]
* link:DevFaqModuleDupePackages.html[Can two or more modules contain the same package?]
* link:DevFaqModuleLoadUnloadNotification.html[How can code in one module be notified when other modules are loaded or unloaded?]
* link:DevFaqModuleObfuscation.html[How can I obfuscate a module?]
* link:DevFaqNonGuiPlatformApp.html[Can I create a console or server (non-GUI) app with the NetBeans Platform?]
* link:DevFaqSuppressExistingModule.html[I want my module to disable some of the modules that would normally be enabled. Possible?]
* link:DevFaqTutorialsDebugging.html[How do I debug a module I'm building?]
== NetBeans Developer FAQ
* link:FaqIndex.html[list of other FAQs]
* link:HowToAddFAQEntries.html[How To Add FAQ Entries]
== Nodes and Explorer
* link:DevFaqAddDoingEvilThingsToForeignNodes.html[I have a reference to an existing Node from some other module. Can I add cookies/properties/children?]
* link:DevFaqAddingRemovingChildrenDynamically.html[Can I add, remove or reorder children of a node on the fly?]
* link:DevFaqChangeNodeAppearance.html[How can I change my node's appearance?]
* link:DevFaqCreateExplorerPanel.html[How do I create a TopComponent (tab in the main window) to show some Nodes?]
* link:DevFaqCutCopyPaste.html[How do I handle cut, copy and paste?]
* link:DevFaqExpandAndSelectSpecificNode.html[How do I make a particular node visible in the Explorer, and maybe select it?]
* link:DevFaqExplorer.html[What is "explorer"?]
* link:DevFaqExplorerConnectNode.html[How do I show a Node in my explorer view?]
* link:DevFaqExplorerManager.html[What is an ExplorerManager?]
* link:DevFaqExplorerViews.html[What is an Explorer View?]
* link:DevFaqExplorerViewsInMantisse.html[How can I design explorer views in Mantisse GUI editor?]
* link:DevFaqFilesFromNodes.html[How do I get at the file that a particular node represents?]
* link:DevFaqGraphicalChoiceView.html[How can I graphically create a ChoiceView?]
* link:DevFaqNodeChildrenDotLeaf.html[Why do my nodes in the Explorer always have an expand-box by them, even though they have no children?]
* link:DevFaqNodeDeletionDialog.html[How can I prevent (or override) the node deletion dialog?]
* link:DevFaqNodeInjectingLookupContents.html[I want to allow other modules to inject objects into my Node's Lookup, or Actions into its actions]
* link:DevFaqNodePropertyForFiles.html[I have a Node.Property for a file. How can I control the file chooser that is the custom editor?]
* link:DevFaqNodeSelectAll.html[How can I implement "Select all/Deselect all/Invert selection" features?]
* link:DevFaqNodeSerialize.html[How to serialize my nodes?]
* link:DevFaqNodeSubclass.html[I need to create my own Nodes. What should I subclass?]
* link:DevFaqNodeViewCapability.html[How can I add a "View" capability for data my node represents?]
* link:DevFaqNodesChildFactory.html[I need to show Nodes for objects that are slow to create. How do I compute Node children on a background thread?]
* link:DevFaqNodesCustomLookup.html[I need to add to/remove from/customize the content of my Node/DataObject/TopComponent's Lookup. How do I do it?]
* link:DevFaqNodesDecorating.html[How do I "decorate" nodes that come from another module (i.e. add icons, actions)?]
* link:DevFaqOutlineViewHorizontalScrolling.html[How can I add horizontal scrolling support to the OutlineView component?]
* link:DevFaqPropertyEditorHints.html[I have a Node.Property. I want to control its appearance or custom editor somehow. Can I do that without writing my own property editor?]
* link:DevFaqSortableTTVColumns.html[How can I make sortable columns in a TreeTableView?]
* link:DevFaqSuppressEditTTVColumns.html[How do I remove the "..." buttons of a TreeTableView?]
* link:DevFaqTrackGlobalSelection.html[I need to write some code that tracks the global selection. What should I do?]
* link:DevFaqTrackingExplorerSelections.html[Tracking selections in the Explorer]
* link:DevFaqViewSaveTTVColumns.html[How do I preserve the column attributes of a TreeTableView?]
* link:DevFaqWhatIsANode.html[What is a Node?]
== Output Window
* link:DevFaqCustomIOProvider.html[How to implement custom IOProvider?]
* link:DevFaqInput.html[How to get user input in the Output Window?]
* link:DevFaqOWColorText.html[How to use color text in Output Window?]
* link:DevFaqOWTabEmbedding.html[How do I embed output window tab to another component?]
* link:DevFaqOutputWindow.html[How do I create my own tab in the output window and write to it?]
* link:DevFaqOutputWindowExternalProcess.html[How do I route the output from an external process to the output window?]
== Printing
* link:DevFaqHowToPrint.html[Help, the Print menu item is disabled!]
== Programmatic access to Java Sources
* link:DevFaqObtainSourcesOfAJavaClass.html[How to obtain a source file for a Java class and open in the editor?]
* link:DevFaqScanForClasses.html[How can I scan a classpath to find all classes of a particular type?]
* link:JavaHT_GetAllMembers.html[How do I Get All Methods/Fields/Constructors of a Class?]
* link:JavaHT_Modification.html[How can I programmatically modify a Java source file?]
* link:Java_DevelopersGuide.html[Java_DevelopersGuide]
== Project Handling
* link:DevFaqGetNameOfProjectGroup.html[How to get the name of the active project group?]
* link:DevFaqGetNameOrIconForProject.html[How to get the name or icon of a project?]
* link:DevFaqGetProjectForFileInEditor.html[How to get the project of the active file in the editor?]
* link:DevFaqListenForOpeningClosingProject.html[How to listen for projects to be opened/closed?]
* link:DevFaqOpenProjectProgramatically.html[How can I open a Project programatically?]
== Project Types
* link:DevFaqActionAddProjectCustomizer.html[How to add a new panel to a Project Properties dialog?]
* link:DevFaqActionAddProjectCustomizerToMultipleTypes.html[How do I register a "ProjectCustomizer" to multiple project types?]
* link:DevFaqActionAddProjectPopUp.html[How do I add an action to a project popup menu?]
* link:DevFaqActionAddProjectTypePopUp.html[How do I add an action to a project popup menu of a specific project type?]
* link:DevFaqActionAllAvailableProjectTypes.html[How determine all available project types?]
* link:DevFaqAddFileTemplateToNewFileContentMenu.html[How can I define the available File types when the user right-clicks the project folder and chooses "New"?]
* link:DevFaqIdentifyMain.html[How do I identify the "main project"?]
* link:DevFaqPossibleToExtend.html[Is it possible to extend an existing project type?]
== Properties and PropertySheet
* link:DevFaqPropertySheetEditors.html[How do I change the default behavior of PropertySheet editors?]
* link:DevFaqPropertySheetHideDescription.html[How do I hide the description area in property window?]
* link:DevFaqPropertySheetNodes.html[How do I show my node's properties in the Properties view?]
* link:DevFaqPropertySheetReadonlyProperty.html[How do I add a readonly property?]
* link:DevFaqPropertySheetTabs.html[How do I display different groups of properties on buttons in the property sheet the way Matisse does?]
== Running and Writing tests
* link:DevFaqTestDataObject.html[Writing Tests for DataObjects and DataLoaders]
* link:DevFaqTestUsingSystemFileSystem.html[How do I test something which uses the System Filesystem?]
* link:DevFaqUsingSimpletests.html[Using NbModuleSuite & friends]
* link:DevRunningTestsPlatformApp.html[Running tests on a platform application]
* link:NetBeansDeveloperTestFAQ.html[NetBeans Developer Test FAQ]
* link:TestingThingsThatUseFileObjectDataObjectDataFolder.html[Testing things that use FileObjects]
== Settings
* link:DevFaqExportImport.html[How to register options for export/import to module's layer?]
* link:DevFaqExtendOptionsSearch.html[How can I configure my options panel to be found by global quicksearch or options search?]
* link:DevFaqExtendOptionsWindow.html[Can I add new panels to the Options window?]
* link:DevFaqHowToChangeSettingsFromAnExternalModules.html[How do you change the configuration of other modules?]
* link:DevFaqJavaStartParms.html[How do I change the application's Java start parameters?]
* link:DevFaqOpenOptionsAtCategory.html[How do you open the option dialog with a preselected category?]
* link:DevFaqSetPrefs.html[How do I let the user set preferences/options/customization/configuration for my module/application?]
== Tasks and Progressbar
* link:DevFaqExternalExecution.html[How to run/execute an external program?]
* link:DevFaqTaskLongRunningAsyncTask.html[How to execute a long running task from an action without blocking the GUI?]
== Threading
* link:DevFaqBackgroundThread.html[What is a background thread and why do I need one?]
* link:DevFaqRequestProcessor.html[When should I use RequestProcessor.getDefault() and when should I create my own RequestProcessor?]
* link:DevFaqRequestProcessorTask.html[How can I run an operation occasionally on a background thread, but reschedule it if something happens to delay it?]
* link:DevFaqThreading.html[I need to run some code on a background thread. Can the platform help me?]
* link:DevFaqThreadingBuiltIn.html[What APIs come with built-in background thread handling?]
== Tutorials and important starting points
* link:DevFaqAnnotationList.html[NetBeans Annotation Cheat Sheet]
* link:DevFaqApisBasics.html[What are the basic things I should know about NetBeans' architecture to get started creating NetBeans Platform applications?]
* link:DevFaqTutorialsAPI.html[NetBeans API starting point]
* link:DevFaqTutorialsIndex.html[Any tutorials out there, please?]
== Using Enterprise Resources from NetBeans module
* link:DevFaqAppClientOnNbPlatformTut.html[Java EE Application Client on top of NetBeans Platform Tutorial]
* link:DevFaqCallEjbFromNbm.html[How to call EJB from NetBeans module]
== Using Sounds
* link:DevFaqMakeItTalk.html[How to make my application talk?]
* link:DevFaqUseSounds.html[How to use sounds in my application?]
== Versioning
* link:ProjectVersioning.html[How to add versioning actions like GIT, Mercurial, SVN, CVS to my own nodes?]
== When There Are Multiple Ways To Do Something...
* link:DevFaqModulesDeclarativeVsProgrammatic.html[Installing things declaratively vs. installing things programmatically]
* link:DevFaqRegisterObjectsViaInstanceOrSettingsFiles.html[Should I register an object in my layer file using .instance or .settings files? What about .shadow files?]
* link:DevFaqWaysToRegisterInDefaultLookup.html[Which way should I register an object in the default Lookup?]
* link:DevFaqWhenToUseWhatRegistrationMethod.html[I need to register some object to be found at runtime, or run some code on startup. Which way should I use?]
== When things go wrong: Troubleshooting
* link:DevFaqTroubleshootClassNotFound.html[I've got a class not found error/exception. How can I fix it?]
* link:DevFaqTroubleshootMissingItemsInZippedSources.html[I find files missing from the source ZIP file]
== Window System
* link:DevFaqCustomWindowMode.html[How to create a custom window mode?]
* link:DevFaqCustomizeWindowSystem.html[How can I customize the window system via the latest 7.1 techniques/enhancements?]
* link:DevFaqEditorTopComponent.html[I want to create a TopComponent class to use as an editor, not a singleton]
* link:DevFaqExecutableIcon.html[How can I change the executable's icon?]
* link:DevFaqInitialMainWindowSize.html[How do I set the initial size of the main window?]
* link:DevFaqMainTitle.html[How to change main title contents?]
* link:DevFaqMixingLightweightHeavyweight.html[How to mix lightweight (Swing) and heavyweight (AWT) components?]
* link:DevFaqMultipleTopComponentAction.html[I have a non-singleton TopComponent. Can I write actions which show all available instances in the main menu?]
* link:DevFaqNonSingletonTopComponents.html[How can I change my TopComponent to not be a singleton?]
* link:DevFaqOverrideDefaultWindowSize.html[How to override the default size of an existing window?]
* link:DevFaqReplaceWindowSystem.html[How can I replace the Window System?]
* link:DevFaqWindowsAndDialogs.html[Windows and dialogs]
* link:DevFaqWindowsComponentHowTo.html[I want to show my own component(s) in the main window - where do I start?]
* link:DevFaqWindowsGeneral.html[What is the window system]
* [[DevFaqWindowsInternals|How does the window system _really_ work?]]
* link:DevFaqWindowsMatisse.html[How do I use Matisse/GroupLayout (new form editor/layout manager in 5.0) in my windowing system components]
* link:DevFaqWindowsMaximizeViaCode.html[How to maximize a TopComponent?]
* link:DevFaqWindowsMode.html[What are Modes?]
* link:DevFaqWindowsNoActionsOnToolbars.html[I want to disable the popup menu on the toolbars in the main window. How do I do that?]
* link:DevFaqWindowsOpenInMode.html[My TopComponent always opens in the editor area, but I want it to open in the same place as XYZ]
* link:DevFaqWindowsOpenTopComponents.html[Which TopComponents are open?]
* link:DevFaqWindowsTopComponent.html[What are TopComponents?]
* link:DevFaqWindowsTopComponentLookup.html[Why does TopComponent have a getLookup() method? What is it for?]
* link:DevFaqWindowsWstcrefAndFriends.html[How do I use .wstcrf/.wsmode/.settings files to install my module's components in the window system?]
* link:DevFaqWindowsXmlApi.html[How does the XML API for installing window system components work?]
== Wizards and Templates
* link:DevFaqMakeGroupTemplate.html[How do I make a file template which actually creates a set of files at once?]
* link:DevFaqOpenFilesAfterProjectCreation.html[How to open files in editor after project creation?]
* link:DevFaqTemplatesInNonIdeApp.html[I am creating a non-IDE application. How do I enable/control templates?]
* link:DevFaqWizardChangeLabelsOfDefaultButtons.html[How to customize the button text of default buttons of a wizard (Finish, Cancel, etc.)?]
* link:DevFaqWizardPanelError.html[How do I show that a user has filled an invalid input into my wizard?]
== XML Multiview API
* link:DevFaqMultiViewChangeTabInCode.html[How to change selected tab of Multiview?]
*NOTE:* This document was automatically converted to the AsciiDoc format on 2018-01-10, and needs to be reviewed.