CINXE.COM
Apache NetBeans Wiki
<!doctype html> <html class="no-js" lang="en" dir="ltr"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Apache NetBeans Wiki</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Apache NetBeans Wiki"> <meta name="author" content="Apache NetBeans"> <meta name="description" content="Apache NetBeans Wiki"> <meta name="keywords" content="Apache NetBeans Wiki"> <meta name="generator" content="Apache NetBeans"> <link rel="stylesheet" href="../../../_/css/font-awesome.min.css"> <link rel="alternate" type="application/atom+xml" title="Apache NetBeans Blog" href="https://netbeans.apache.org/blogs/atom" /> <link rel="stylesheet" href="../../../_/css/highlight-11.9.0.default.min.css"> <link rel="stylesheet" href="../../../_/css/netbeans.css"> <link rel="apple-touch-icon" sizes="180x180" href="../../../_/images/fav/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="../../../_/images/fav/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="../../../_/images/fav/favicon-16x16.png"> <link rel="manifest" href="../../../_/images/fav/site.webmanifest"> <link rel="mask-icon" href="../../../_/images/fav/safari-pinned-tab.svg" color="#5bbad5"> <meta name="msapplication-TileColor" content="#ffc40d"> <meta name="theme-color" content="#ffffff"> <link href="../../../_/css/font-open-sans.css" rel="stylesheet"> <!-- 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. --> </head> <body> <div class="title-bar" data-responsive-toggle="responsive-menu" data-hide-for="medium"> <button type="button" data-toggle="responsive-menu"><i style='font-size: 32px; color: #fff; padding: 8px' class='fa fa-bars'></i></button> <div class="title-bar-title">Apache NetBeans</div> </div> <div class="top-bar" id="responsive-menu"> <div class='top-bar-left'> <a class='title' href="../../../index.html"><img src='../../../_/images/apache-netbeans.svg' style='padding: 8px; height: 48px;'> Apache NetBeans</a> </div> <div class="top-bar-right"> <ul class="vertical medium-horizontal menu" data-responsive-menu="drilldown medium-dropdown"> <li> <input id="search-input" type="text" placeholder="Search the docs"> </li> <li> <a href="../../../front/main/community">Community</a> </li> <li> <a href="../../../front/main/participate">Participate</a> </li> <li> <a href="../../../front/main/blogs">Blog</a></li> <li> <a href="../../../front/main/help">Get Help</a> </li> <li> <a href="https://plugins.netbeans.apache.org/">Plugins</a> </li> <li> <a href="../../../front/main/download">Download</a> </li> </ul> </div> </div> <!-- src/templates/news --> <section class="hero news alternate"> <div class='grid-container'> <div class='cell'> <div class="annotation">Latest release</div> <h1>Apache NetBeans 25</h1> <p><a class="button success" href="../../../front/main/download/nb25">Download</a></p> </div> </div> </section> <div class="body"> <div class="nav-container" data-component="wiki" data-version="main"> <aside class="nav"> <div class="panels"> <div class="nav-panel-menu is-active" data-panel="menu"> <nav class="nav-menu"> <h3 class="title"><a href="./">Apache NetBeans Wiki</a></h3> <ul class="nav-list"> <li class="nav-item" data-depth="0"> <button class="nav-item-toggle"></button> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqIndex/">Developper FAQ</a> <ul class="nav-list"> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Getting Started</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWhatIsAModule/">What is a module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqBecomingProficient/">Becoming a Proficient NetBeans Module Developer</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAccessSourcesUsingMercurial/">How do I get access to NetBeans sources using Mercurial (hg)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAccessSourcesWeb/">How do I get access to zipped NetBeans sources for a periodic build?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DefFaqMapApisToTasks/">What API do I want to use for x, y or z?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSellingModules/">I have written a module. Can I sell it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGeneralPackageNamingConventions/">Why are some packages org.netbeans.api.something and others are org.netbeans.something.api?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGeneralWhatIsNetBeansExe/">What is netbeans.exe, who compiles it and why is it there?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGeneralWhereIsPlatformHowToBuild/">Where is the Platform and How Can I Build It?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNetBeansPlatformManager/">How do I set up a NetBeans Platform in the IDE ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSourceTreeModuleDescriptions/">There sure are a lot of modules in the source tree. What are they for?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLibrariesModuleDescriptions/">In the Libraries tab of my application’s Project Properties, there sure are a lot of modules listed. What are they for?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Tutorial and Important starting points</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqApisBasics/">What are the basic things I should know about NetBeans' architecture to get started creating NetBeans Platform applications?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTutorialsIndex/">Any tutorials out there, please?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTutorialsAPI/">NetBeans API starting point</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAnnotationList/">NetBeans Annotation Cheat Sheet</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Getting support, where to find examples</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileBug/">Filing a bug report</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSampleCode/">Where can I find examples of how to use various APIs?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMoreDocsOnCertainAPIs/">Where can I find more documentation on certain APIs?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="NetBeansCertifiedEngineerCourse/">NetBeans Certified Engineer Course</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Application Lifecycle and Hooks</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAppLifecycleHooks/">What are some of the hooks in the application’s lifecycle I can plug into?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Development issues, module basics and classpath issues, and information about RCP/Platform application configuration</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNetBeansClasspath/">My module uses some libraries. I’ve tried setting CLASSPATH but it doesn’t work. Help!</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModuleDependencies/">How do module dependencies and class loading work?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaq2SrcPaths/">How do I have two source directories within one module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqClassLoaders/">What class loaders are created by the module system?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUiDefaultsPropsNotFound/">Why can’t I load properties using UIDefaults?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowPackageLibraries/">I need to package some third party libraries with my module. How do I do that?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWhatIsNbm/">What is an NBM?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSignNbm/">Can I sign NBMs I create?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqApiSpi/">What is an SPI? How is it different from an API?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSpecifyJdkVersion/">My module requires JDK 6; how do I keep it from being loaded in JDK 5?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWrapperModules/">What is a library wrapper module and how do I use it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWhenUseWrapperModule/">When should I use a library wrapper module and when should I just package the library into my module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExternalLibraries/">How to store external libraries in the NetBeans Hg repository</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNativeLibraries/">How do I add native libraries to my module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqImplementationDependency/">What is an implementation dependency and when should I use one?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNoClassDefFound/">My module uses some class from NetBeans' APIs. It compiles, but I get a NoClassDefFoundError at runtime. Why?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWhatIsACluster/">What is a Cluster?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSuitesVsClusters/">What is the difference between a suite and a cluster?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowToFixDependencies/">My <code>project.xml</code> lists more dependencies than I really need. How can I fix it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowToReuseModules/">I want to reuse some of my modules in several RCP applications. How to do it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOrphanedNetBeansOrgModules/">Can I work on just one or two modules from the NetBeans source base by themselves?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqJavaHelp/">Is there a standard way to provide user documentation for my module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTopManager/">Where is <code>TopManager</code>? I’m trying to do the examples from the O’Reilly book</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDependOnCore/">There is a class under org.netbeans.core that does what I need. Can I call/use/depend on it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNbIdiosyncracies/">Common calls that should be done slightly differently in NetBeans than standard Swing apps (loading images, localized strings, showing dialogs)</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModulePatching/">How do I create a patch for a preexisting NetBeans module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNbPlatformAndHarnessMixAndMatch/">I want to use one version of the Platform with another version of the build harness. Can I?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUIResponsiveness/">I am developing a NetBeans module. What performance criteria should it satisfy?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPlatformRuntimeProperties/">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?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../performance/DevFaqMemoryLeaks/">How can I fix memory leaks?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqRuntimeMemory/">How to run a module with more memory settings</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWeakListener/">What is a WeakListener ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWeakListenerWhen/">When should I use a WeakListener ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../performance/DevFaqProfiling/">How can I profile NetBeans?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNetBeansFullHack/">Can I test changes to the IDE without going through the license check and so on?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomizeBuild/">How can I customize the build process?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNetBeansProjectsDirectory/">How can I customize the default project directory for my application, replacing "NetBeansProjects"?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMigratingToNewerPlatform/">Migrating to a newer version of the Platform</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="FaqRunSameTargetOnAllModules/">How can I launch an Ant Task on all modules of my suite?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModuleReload/">Do I need to restart NetBeans every time to debug new changes?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAutomaticPlatformDownload/">How can I have my application compiled in a specific version of the platform ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAnnotationDevelopDebug/">How do I develop and debug annotations for NetBeans platform apps?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Mavenized Builds</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMavenL10N/">How can I create localization modules using Maven?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMavenSystemScope/">Why can’t I use system scope for a library wrapper module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMavenPlatformRebel/">Can I use JRebel to speed up development?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMavenHowToMigrateFromANT/">How to convert an ANT-based NetBeans Module to a Maven-based NetBeans Module?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Configuration: How Modules Install Things</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModulesGeneral/">What are the ways a module can influence the system?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModulesStartupActions/">How do I run some code when my module starts/loads/unloads?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModulesLayerFile/">What is a layer file, or "module layer"?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFilesystemSee/">How can I see the system filesystem (<code>FileUtil.getConfigRoot()</code>)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqInstanceDataObject/">What are <code>*.instance</code> files?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDotSettingsFiles/">What are <code>*.settings</code> files?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDotShadowFiles/">What are <code>*.shadow</code> files?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUserDir/">What is the user directory, what is in it, and why do I need one?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOrderAttributes/">How do I specify the order for my menu items/toolbar buttons/files in the system filesystem?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDynamicSystemFilesystem/">Can I dynamically change the contents of the System Filesystem at runtime?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqInstalledFileLocator/">Can I bundle some additional files with my module? If so, how can I find those files to use them from my module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSystemFilesystem/">What is the System Filesystem?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">When There Are Multiple Ways To Do Something…​</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModulesDeclarativeVsProgrammatic/">Installing things declaratively as opposed to programmatically</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWhenToUseWhatRegistrationMethod/">When do I use which registration method?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWaysToRegisterInDefaultLookup/">Which Way Should I Use To Register an Object in the Default Lookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqRegisterObjectsViaInstanceOrSettingsFiles/">Should I register an object in my layer file using .instance or .settings files? What about .shadow files or serialization?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Actions: How to add things to Files, Folders, Menus, Toolbars and more</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddMenuBar/">How do I add an action to the menu bar?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddToolBar/">How do I add an action to the Toolbar?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqToggleActionAddToEditorToolbar/">How do I add a toggle-able action to the toolbar/main menu?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddToEditorToolbar/">How do I add an action to the toolbar of the editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionContextSensitive/">How do I create an Action that is automatically enabled and disabled depending on the selection?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCheckableActionPreferenceOption/">How do I make a checkable action that represents a preference option?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionsFolder/">What is the Actions folder in the system filesystem, and why should I use it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionsAddAtRuntime/">How do I add an action (incl. shortcut) at runtime?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddFileMime/">How do I add an action to a file of a given mime-type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddEditorPopup/">How do I add an action to a the popup menu of the Java editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddToContextMenuOfAllEditors/">How do I add an action to the context menu of all editors?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddProjectOwnTypePopUp/">How do I add an action to a project node’s popup menu of my own project type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddFolder/">How do I add an action to a folder?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddAnyFolder/">How can I add actions to all folder nodes?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddJavaPackage/">How can I to add actions to the Java package node?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddTools/">How do I add an action to the tools menu?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddDataObject/">How do I add an action to my custom node type ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionNodePopupSubmenu/">How do I make my Node have a submenu on its popup menu?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddTabPopup/">How do I add an action to the global popup menu of tabs?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDropdownMenuAddToolbar/">How do I add a drop-down menu to a toolbar button?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDropdownMenuAddToolbarEnabled/">How do I add a dropdown menu to toolbar that is selectively enabled/disabled?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHideRemoveToolbarMenu/">How do I hide/remove default toolbar buttons and/or menu items?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHideShowToolbar/">How do I hide and show toolbars the way the debugger does?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddActionToMembersOrHierarchyView/">How do I add an action to the context menu of the members or hierarchy view?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqRenamingMenuItem/">Some module in the IDE etc. already has a menu item I can use. I just want to rename it. Can I?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSwitchingMenusByContext/">How can I change the contents of a menu according to the selected file in the editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUsingSubmenus/">Can I add submenus to context or main menus, instead of single menu items?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMainwindowClosingAction/">How do I change the closing action of the MainWindow?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileOpenAction/">How do I get the Open File item on the File menu into my platform application?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFindLocationInSourcesFromUi/">Looking at the UI how do I find a module that implements a menu item?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqJSeparatorInMainToolbar/">How can I add a JSeparator to the main toolbar?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTweakRegistryByCodeDeduction/">How do I remove a menu item or toolbar button from an application’s GUI?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTweakRegistryByCodeReplacement/">How do I have only shortcut keys for an action?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqChangeMenuItemToolbarAppearanceForAction/">How do I change the appearance of the menu items and toolbar buttons for my action?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLogActionStartup/">How do you invoke the View/IDE Log Action programmatically?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddGlobalContext/">How do I Add Content to the Global Context?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddIconToContextMenu/">How do i add an icon to the context menu?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqInvokeActionProgrammatically/">How do I invoke an action programmatically?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowOrganizeOrReuseExistingActionsWithAnnotations/">How can I reuse and/or organise actions only by using annotations (@ActionReferences)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowToDefineTheKeyMapCategoryForAnAction/">How do I define and localise the keymap category of an action?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddMacroableAction/">How do I create an action which can be invoked by a macro?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowCreateAnActionObject/">DevFaqHowCreateAnActionObject</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Key Bindings</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqKeybindings/">How do keybindings work?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqRebindingKeys/">Can I bind one key to more than one action?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLogicalKeybindings/">Why should I use D- for Ctrl and O- for Alt - I thought C stood for Ctrl and A stood for alt?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOrderActions/">I want my action to appear between to existing items/in a specific place in the menu. Can I do that?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGlobalVsEditorKeybindings/">What are editor-specific keybindings and how are they different from global ones?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqKeybindingsInUse/">How do I find out which keybindings are already in use?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddDefaultActionShortcuts/">How do I add default shortcuts for SystemActions (like cut, paste, etc)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGetShortCutForAction/">How to get the shortcut/shortkey of an action at runtime?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddShortCutForAction/">How to set the shortcut of an action outside of your own module?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Lookup</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookup/">What is a Lookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupWhere/">What uses Lookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupVsHashmap/">Why use this strange convention - wouldn’t a Map be good enough?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupGenerics/">How do I use Java Generics with Lookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupHowToOverride/">How can I override an instance in the Default Lookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupCookie/">What is the difference between getCookie(Class), SharedClassObject.get(Class) and Lookup.lookup(Class)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupImplement/">How do I implement my own lookup or proxy another one?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupNonSingleton/">If there is more than one of a type in a Lookup, which instance will I get?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupContents/">How can I find out what is in a Lookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupForDataNode/">How can I add support for `Lookup`s on nodes representing my file type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWhenLookup/">When should I use Lookup in my own APIs?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupPackageNamingAndLookup/">After adding my class to Lookup I get a "ClassNotFoundException" when trying to look it up, why?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupEventBus/">Using Event Bus in NetBeans</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLookupLazyLoad/">How do I lazy-load an item in the Lookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSysFsLookupRegistration/">How can I register services into the default lookup using the system filesystem?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Files and Data Objects</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileRecognition/">How does NetBeans recognize files?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileObject/">What is a FileObject?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileSystem/">What is a FileSystem?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileAttributes/">What are File Attributes?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDataObject/">What is a DataObject?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDataLoader/">What is a DataLoader?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqListenForSaveEvents/">How can I be notified when a file is modified and saved??</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqListenForOpenEvents/">How can I be notified when a file is opened?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDataSystemsAddPopupToAllFolders/">How do I add an item to for every folder in the system?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileContextMenuAddition/">Can I add a menu item to the context menu of every Java source file?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqImplementFilesystem/">I’m having trouble implementing this filesystem…​.</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNewXMLFileType/">How do I add support for an XML type with a different extension?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDataObjectInItsCookieSet/">The next button is never enabled when I create my DataObject from a template. Help!</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileObjectInMemory/">How can I create a FileObject in memory?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMIMEResolver/">How can I create declarative MIMEResolver and add new file type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqListeningForFileChanges/">I am listening for changes in a folder/file but when there are changes I do not receive an event</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqListenForChangesInNonExistentFile/">I want to listen for changes in a file that may not exist or may be deleted and re-created</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileChoosers/">I need to show a file chooser when my action runs. Can I remember the most recently used directories?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Converting between common data types and finding things</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileVsFileObject/">Files vs. file objects</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUriVsUrl/">URIs and URLs</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileFileObject/">How do I get a java.io.File for a FileObject?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileObjectFile/">How do I get a FileObject for a File?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDataObjectFileObject/">How do I get a DataObject for a FileObject?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileObjectDataObject/">How do I get a FileObject for a DataObject?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeDataObject/">How do I get a Node for a DataObject?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDataObjectNode/">How do I get a DataObject for a Node?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFindSfs/">How do I get a reference to the system filesystem?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFindInstance/">I have a .instance file. How do I get an actual object instance?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFolderOfInstances/">I have a folder full of .instance files. How do I get any/all of the object instances?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Editor and Edited Files</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGetOpenEditorWindows/">How can I get a list of open editor windows?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorGetCurrentDocument/">How can I find the currently open document in the selected editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqListenEditorChanges/">How can I track what file the user is currently editing?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFindCaretPositionInEditor/">How can I get the position of the caret in the currently selected editor window?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOpenReadOnly/">How can I open a file in the editor in read-only mode?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOpenFileAtLine/">How can I open a particular file at a particular line number and column?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorHowToGetMimeTypeFromDocumentOrJTextComponent/">How to get mime type from <code>Document</code> or <code>JTextComponent</code>?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModifyOpenFile/">Is it safe to programmatically modify a file which is open in the editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMultipleProgrammaticEdits/">I want to make some programmatic changes to the edited file. How can I do it so one Undo undoes it all?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSyntaxColoring/">Can I add syntax coloring for my own data object/MIME type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorCodeCompletionAnyJEditorPane/">How to add code completion to any JEditorPane</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorWhatIsMimePath/">What is MimePath?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorWhatIsMimeLookup/">What is MimeLookup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorHowIsMimeLookupComposed/">How is MimeLookup composed?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorJEPForMimeType/">How can I create JEditorPane for a specific document type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqI18nFileEncodingQueryObject/">Project Encoding vs. File Encoding - What are the precedence rules used in NetBeans 6.x?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFileEditorContextMenuAddition/">Can I add a menu item to the context menu of the Java source editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorHowToAddDiffView/">How to use the diff view in my own application/plugin</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorHowToReuseEditorHighlighting/">How to reuse XML syntax highlighting in your own editor</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorHowToAddCodeTemplates/">How to add code templates?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">File Management (within the IDE/Application)</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOpenFile/">How can I open a file in the IDE programatically?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Module System</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSuppressExistingModule/">I want my module to disable some of the modules that would normally be enabled. Possible?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTutorialsDebugging/">How do I debug a module I’m building?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDisableAutoupdate/">Can I disable Auto Update (for example, while running tests)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqChangeRestartSplash/">How Can I Change the NetBeans Splash Screen Shown When A User Installs a Module Requiring Restart?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModuleObfuscation/">Can I obfuscate a module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModuleCCE/">Why am I getting a <code>ClassCastException</code> when the class is clearly of the right type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModuleDupePackages/">Can two or more modules contain the same package?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNonGuiPlatformApp/">Can I create a console or server (non-GUI) app with the NetBeans Platform?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqModuleLoadUnloadNotification/">How can code in one module be notified when other modules are loaded or unloaded?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/Autoload/">What is an autoload module?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFixDependencies/">How fix module dependencies automatically?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Nodes and Explorer</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWhatIsANode/">What is a Node?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExplorer/">What is "explorer"?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExplorerManager/">What is an ExplorerManager?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExplorerViews/">What is an Explorer view?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExplorerConnectNode/">How do I show a Node to my Explorer View?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeSubclass/">I need to create my own Nodes. What should I subclass?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeSerialize/">How do I serialize my nodes?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodesChildFactory/">I need to show Nodes for objects that are slow to create. How do I compute Node children on a background thread?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCreateExplorerPanel/">How do I create a TopComponent to show an explorer view?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddDoingEvilThingsToForeignNodes/">I have a reference to an existing Node from some other module. Can I add cookies/properties/actions/children?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddingRemovingChildrenDynamically/">Can I add or remove children of a node on the fly?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExpandAndSelectSpecificNode/">How do I make a particular node visible in the Explorer, and maybe select it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqFilesFromNodes/">How do I get at the file that a particular node represents?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTrackingExplorerSelections/">How should I keep track of what the current nodeselection in the Explorer window is? Should I use the <code>ExplorerManager</code> ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodesCustomLookup/">I need to add-to/remove-from/customize the content of my Node/DataObject/TopComponent’s Lookup. How do I do it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTrackGlobalSelection/">I need to write some code that tracks the global selection. What should I do?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodesDecorating/">How do I "decorate" nodes that come from another module (i.e. add icons, actions)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqViewSaveTTVColumns/">How do I preserve the column attributes of a TreeTableView?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSuppressEditTTVColumns/">How do I remove the "…​" buttons of a TreeTableView?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSortableTTVColumns/">How can I make sortable columns in a TreeTableView?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeViewCapability/">How can I add a "View" capability for data my node represents</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeSelectAll/">How can I implement "Select all/Deselect all/Invert selection" features?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeChildrenDotLeaf/">Why do my nodes in the Explorer always have an expand-box by them, even though they have no children?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeDeletionDialog/">How can I prevent (or override) the node deletion dialog?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqChangeNodeAppearance/">How can I change my node’s appearance?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCutCopyPaste/">How do I handle cut, copy and paste?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGraphicalChoiceView/">How can I graphically create a ChoiceView in using the GUI designer?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExplorerViewsInMantisse/">How can I design explorer views in Mantisse GUI editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodePropertyForFiles/">I have a Node.Property for a file. How can I control the file chooser that is the custom editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPropertyEditorHints/">I have a Node.Property. I want to control its appearance or custom editor somehow. What options are available?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNodeInjectingLookupContents/">I want to allow other modules to inject objects into my Node’s Lookup or elsewhere (Actions, Properties…​)</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOutlineViewHorizontalScrolling/">How do I add horizontal scrolling support in the OutlineView component?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Tasks and Progressbar</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTaskLongRunningAsyncTask/">How to execute a long running task from an action without blocking the GUI?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExternalExecution/">How to run/execute an external program?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Command Line Parsing</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="HowToEnableDisableMenusFromCommandLine/">Can something that the user sets on the command line determine whether a menu item is enabled?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="HowToEnableDisableModulesFromCommandLine/">Same as the above, but this time for enabling/disabling modules?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="HowToPassCommandLineArgumentsToANetBeansPlatformApplicationWhenRunInsideTheIDE/">How to pass command line arguments to a NetBeans Platform application when run inside the IDE</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Threading</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqBackgroundThread/">What is a background thread and why do I need one?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqThreading/">I need to run some code on a background thread. Can the platform help me?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqRequestProcessor/">When should I use RequestProcessor.getDefault() and when should I create my own RequestProcessor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqThreadingBuiltIn/">What APIs come with built-in background thread handling?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqRequestProcessorTask/">How can I operation occasionally on a background thread, but reschedule it if something happens to delay it?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Creating a Custom Programming Language</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSyntaxHighlight/">How do I add syntax highlighting for my language?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomDebugger/">How can I create a custom Debugger for my language?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Settings</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqSetPrefs/">How do I let the user set preferences/options/customization/configuration for my module/application?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExtendOptionsWindow/">Can I add new panels to the Options window?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExportImport/">How to register options for export/import to module’s layer?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqJavaStartParms/">How do I change the application’s Java start parameters?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExtendOptionsSearch/">How can configure my options panel to be found by global quicksearch or options search?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOpenOptionsAtCategory/">How do you open the option dialog with a preselected category?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowToChangeSettingsFromAnExternalModules/">How do you change the configuration of other modules?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Window System</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsGeneral/">What is the Window System?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsMode/">What is a Mode in the Windowing System?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsTopComponent/">What is a TopComponent in the Window System?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsMatisse/">How do I use Matisse/GroupLayout (new form editor/layout manager in 5.0) in my window system components?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsComponentHowTo/">I want to show my own component(s) in the main window - where do I start?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsAndDialogs/">Windows & dialogs</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsXmlApi/">How does the declarative XML API for the window system work?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsWstcrefAndFriends/">What are the various window system file formats like <code>.wstcref</code> and how do I use them?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsOpenInMode/">My TopComponent always opens in the editor area, but I want it to open in the same place as XYZ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsTopComponentLookup/">Why does <code>TopComponent</code> have a <code>getLookup()</code> method? What is it for?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsNoActionsOnToolbars/">I want to disable the popup menu on the toolbars in the main window. How do I do that?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqExecutableIcon/">How can I change the executable’s icon?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsInternals/">NetBeans Window System - what happens during startup</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqReplaceWindowSystem/">How Can I Replace the Window Manager?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqInitialMainWindowSize/">How do I adjust the initial size/position of the main window?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEditorTopComponent/">I want to create a TopComponent class to use as an editor, not a singleton</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNonSingletonTopComponents/">How can I change my TopComponent to not be a singleton (NB version up to 6.9)?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMultipleTopComponentAction/">I have a non-singleton TopComponent. Can I write actions which show all available instances in the main menu?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsOpenTopComponents/">Which TopComponents are open?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOverrideDefaultWindowSize/">How to override the default size of an existing window?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomWindowMode/">How to create a custom window mode?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMainTitle/">How to change main title contents?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomizeWindowSystem/">How can I customize the window system via the latest 7.1 techniques/enhancements?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMixingLightweightHeavyweight/">How to mix lightweight (Swing) and heavyweight (AWT) components?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWindowsMaximizeViaCode/">How to maximize a TopComponent?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Dialogs API</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDialogsApiIntro/">What is the Dialogs API and How Do I Use It?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqDialogControlOKButton/">How can I control when the OK button is enabled?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">XML Multiview API</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMultiViewChangeTabInCode/">How to change selected tab of Multiview?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Project Handling</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOpenProjectProgramatically/">How can I open a Project programatically?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGetProjectForFileInEditor/">How to get the project for the actual file in the editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGetNameOrIconForProject/">How to get the name or icon of a project?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqGetNameOfProjectGroup/">How to get the name of the active project group ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqListenForOpeningClosingProject/">How to listen for projects to be opened/closed?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Project Types</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPossibleToExtend/">Is it possible to extend an existing project type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddProjectCustomizer/">How do I add a new panel to a Project Properties dialog?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqIdentifyMain/">How do I identify the "main project"?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAddProjectCustomizerToMultipleTypes/">How do I register a "ProjectCustomizer" to multiple project types?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqActionAllAvailableProjectTypes/">How determine all available project types?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddFileTemplateToNewFileContentMenu/">How can I define the available File types when the user right-clicks the project folder and chooses "New"?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Versioning</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="ProjectVersioning/">How to add versioning actions like GIT, Mercurial, SVN, CVS to my own nodes?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Printing</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowToPrint/">Help the Print menu item is disabled!</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">HTML Browser</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowToOpenURL/">How to open a URL in the internal/default HTML browser?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Wizards and Templates</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMakeGroupTemplate/">How do I make a file template which actually creates a set of files at once?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTemplatesInNonIdeApp/">I am creating a non-IDE application. How do I enable/control templates?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWizardPanelError/">How do I show that a user has filled an invalid input into my wizard?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOpenFilesAfterProjectCreation/">How to open files in editor after project creation?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqWizardChangeLabelsOfDefaultButtons/">How to customize the text of default buttons in wizard dialog (Finish, Cancel, etc)?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Properties and PropertySheet</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPropertySheetEditors/">How do I change the default behavior of PropertySheet editors?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPropertySheetNodes/">How do I show my node’s properties in the Properties view?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPropertySheetTabs/">How do I display different groups of properties on buttons in the property sheet the way Matisse does?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPropertySheetHideDescription/">How do I hide the description area in property window</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPropertySheetReadonlyProperty/">How do I add a readonly property?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Output Window</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOutputWindow/">How do I create my own tab in the output window and write to it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOutputWindowExternalProcess/">How do I route the output from an external process to the output window?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomIOProvider/">How do I implement a custom IOProvider?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOWTabEmbedding/">How do I embed output window tab to another component?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqOWColorText/">How to use color text in Output Window</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqInput/">How to get user input in the Output Window?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Using Enterprise Resources from NetBeans module</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAppClientOnNbPlatformTut/">Java EE Application Client on top of the NetBeans Platform Tutorial</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCallEjbFromNbm/">How to call EJB from NetBeans module</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Running and Writing tests</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeanstestfaq/DevFaqUsingSimpletests/">Using NbModuleSuite & friends</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeanstestfaq/DevRunningTestsPlatformApp/">Running Tests on a Platform Application</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeanstestfaq/NetBeansDeveloperTestFAQ/">NetBeans Developer Test FAQ</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeanstestfaq/TestingThingsThatUseFileObjectDataObjectDataFolder/">Testing Things That Use FileObject/DataObject/DataFolder</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeanstestfaq/DevFaqTestDataObject/">Writing Tests For DataObjects and DataLoaders</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeanstestfaq/DevFaqTestUsingSystemFileSystem/">How do I test something which uses the System Filesystem?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Branding your application</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="BrandingAboutDialog/">Branding About Dialog</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="BrandingUpdaterSplash/">Branding Updater Splash</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqVersionNumber/">How do I set the version number?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqRemoveStatusBar/">How do I remove the status bar?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="TranslateNetbeansModule/">Translate Your NetBeans Module</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Authentication and Authorization in Platform Apps</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqPlatformAppAuthStrategies/">Other strategies for authentication and authorization</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Logging and Error Handling</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLogging/">Using java.util.logging in NetBeans</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUIGestures/">UI Logging through Gestures Collector</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUnexpectedExceptionDialog/">How can I suppress the Unexpected Exception dialog?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomizingUnexpectedExceptionDialog/">How can I customize the Unexpected Exception dialog ?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAddTimestampToLogs/">How Do I Add a Timestamp to the Logs?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">JavaHelp</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHelpGuidelines/">Module Helpset Integration FAQs</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqIdeWelcome/">How do I fix problems about 'ide.welcome'?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqJavaHelpNotDisplayed/">Why doesn’t my JavaHelp content show up?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqJavaHelpForNodeProperties/">How Can I Hook Up JavaHelp to Property Sets or Individual Properties?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqJavaHelpOverrideCustom/">How can I override JavaHelp to display my own help or documentation?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Look and Design</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqChangeLookAndFeel/">How can I set the Swing look and feel on startup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomFontSize/">I have a custom component. How can I make it respond to --fontsize like the rest of NetBeans?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqImagesForDarkLaf/">How to provide non-inverted images for dark LookAndFeels like DarkMetal/Darcula?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Deploying Changes through AutoUpdate and using Autoupdate API</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqCustomUpdateCenter/">How can I use AutoUpdate to deploy updates and new modules for my application?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAutoUpdateBranding/">How can I update the splash screen, title bar and other branding items via AutoUpdate?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="FaqPluginManagerCustomization/">How to customize Plugin Manager?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAutoUpdateAPIJavadoc/">How can I find Javadoc of Autoupdate API with hints to use it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNbmPostInstall/">How to specify post-install code in <a href="wiki:wiki/NBM.html">NBM</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUseNativeInstaller/">How can I run the installer for something else during module installation?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqNBMPack200/">Using pack200 compression for NBM files</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqAutoUpdateCheckEveryStartup/">How to force to check for updates at every startup?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqHowToChangeUpdateCenterURL/">How to change the update center URL via code?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Deployment using installers / NBI</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansinstallerfaq/DevInstallerAddVersioningInfo/">How to add versioning information to be shown in "Installed Programs" (Windows-only)?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Programmatic access to Java Sources</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GetAllMembers/">How do I Get All Methods/Fields/Constructors of a Class?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_Modification/">JavaHT_How can I programmatically modify a Java source file?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqObtainSourcesOfAJavaClass/">How do I obtain a source file for a Java class and open it in the editor?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqScanForClasses/">How can I scan a classpath to find all classes of a particular type?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/Java_DevelopersGuide/">Java Infrastructure Developer’s guide (AKA Concepts & HowTos)</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">When things go wrong: Troubleshooting</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTroubleshootClassNotFound/">I got a <code>ClassNotFoundException</code> or <code>NoClassDefFoundError</code>. How can I fix it?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqTroubleshootMissingItemsInZippedSources/">I find files missing from the source ZIP file</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Licensing Issues</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLic3rdPartyComponents/">What third party libraries are in the Platform and what are their licenses?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMpl3rdPartySources/">Where to download sources of MPL third-party components?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqLgpl3rdPartySources/">Where to download sources of LGPL third-party components?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqEpl3rdPartySources/">Where to download sources of EPL third-party components?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Using Sounds</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqMakeItTalk/">How to make my application talk?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../netbeansdevelopperfaq/DevFaqUseSounds/">How to use sounds in my application?</a> </li> </ul> </li> </ul> </li> <li class="nav-item" data-depth="0"> <button class="nav-item-toggle"></button> <a class="nav-link" href="../javahowto/Java_DevelopersGuide/">Java DevelopersGuide</a> <ul class="nav-list"> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Concepts</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_Overview/">Overview</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_JavacPhases/">The Javac phases</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_TreesElementsTypesTokens/">Trees, Elements and Types</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_Conversions_TreesElementsTypes/">Conversions between trees and elements and types…​</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_IDEIntegration/">Integration with the IDE</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GettingToJavacInfromation/">Getting to the javac information = writing a java infrastructure task</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_RegisteringRunningTasks/">Registering/running tasks</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_ElementHandle/">ElementHandle</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_TreePathHandle/">TreePathHandle</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_SourceFilesVsClassFiles/">Source Files vs. Class Files</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_ClassFilesVsSignatureFiles/">Class Files vs. Signature Files</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">How Tos</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_SetupModule/">How to setup a module which uses the Java related APIs</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GetIntoJavacContext/">How do I Get into the Javac Context for a File?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GetAllMembers/">How do I Get All Methods/Fields/Constructors of a Class?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_Modification/">JavaHT_How can I programmatically modify a Java source file?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_TreeMaker/">TreeMaker</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_TreeMakerQA/">TreeMaker Difficulties, Questions and Answers</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GetElementFromFQN/">GetElementFromFQN</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GetLibrariesForModule/">How do I get a list of libraries/dependencies of a project?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GetSourceLocationOfWrappedJar/">How do I get the source location of a wrapped jar?</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../javahowto/JavaHT_GetPackagesOfAJar/">How do I get the packages contained in a jar/library/dependency?</a> </li> </ul> </li> <li class="nav-item" data-depth="1"> <button class="nav-item-toggle"></button> <span class="nav-text">Tutorials</span> <ul class="nav-list"> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../../../tutorial/main/tutorials/nbm-copyfqn/">NetBeans Java Language Infrastructure Tutorial</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../../../tutorial/main/tutorials/nbm-code-generator/">Code Generator Integration Tutorial</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../../../tutorial/main/tutorials/nbm-java-hint/">NetBeans Java Hint Module Tutorial</a> </li> </ul> </li> </ul> </li> </ul> </nav> </div> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Apache NetBeans Wiki</span> <span class="version">1.0</span> </div> <ul class="components"> <li class="component"> <a class="title" href="../../../front/main/">Apache NetBeans blogs and welcome</a> <ul class="versions"> <li class="version is-latest"> <a href="../../../front/main/">1.0</a> </li> </ul> </li> <li class="component"> <a class="title" href="../../../tutorial/main/kb/">Apache NetBeans Knowledge Database and Tutorials</a> <ul class="versions"> <li class="version is-latest"> <a href="../../../tutorial/main/kb/">1.0</a> </li> </ul> </li> <li class="component is-current"> <a class="title" href="./">Apache NetBeans Wiki</a> <ul class="versions"> <li class="version is-current is-latest"> <a href="./">1.0</a> </li> </ul> </li> </ul> </div> </div> </aside> </div> <main class="article"> <div class="toolbar" role="navigation"> <button class="nav-toggle"></button> <a href="../../../front/main/" class="home-link"></a> <nav class="breadcrumbs" aria-label="breadcrumbs"> <ul> <li><a href="./">Apache NetBeans Wiki</a></li> </ul> </nav> <div class="edit-this-page"><a href="https://github.com/apache/netbeans-antora-wiki/edit/main/modules/ROOT/pages/wiki/index.adoc">Edit this Page</a></div> </div> <div class="content"> <aside class="toc sidebar" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> <article class="doc"> <h1 class="page">Apache NetBeans Wiki</h1> <div id="toc" class="toc"> <div id="toctitle"></div> <ul class="sectlevel1"> <li><a href="#_developing_apache_netbeans_ide">Developing Apache NetBeans IDE</a></li> <li><a href="#_answers_support">Answers & Support</a></li> </ul> </div> <div class="sect1 sect1"> <h2 id="_developing_apache_netbeans_ide"><a class="anchor" href="#_developing_apache_netbeans_ide"></a>Developing Apache NetBeans IDE</h2> <div class="sectionbody"> <div class="ulist"> <ul> <li> <p><a href="APIDevelopment/" class="xref page">API Development</a></p> </li> <li> <p><a href="API_Stability/" class="xref page">API Stability</a></p> </li> <li> <p><a href="API_Design/" class="xref page">API Design</a></p> </li> </ul> </div> </div> </div> <div class="sect1 sect2"> <h2 id="_answers_support"><a class="anchor" href="#_answers_support"></a>Answers & Support</h2> <div class="sectionbody"> <div class="ulist"> <ul> <li> <p><a href="../netbeansdevelopperfaq/DevFaqIndex/" class="xref page">NetBeans Developer FAQ</a></p> </li> <li> <p><a href="../javahowto/Java_DevelopersGuide/" class="xref page">Java Infrastructure Developer’s guide (AKA Concepts & HowTos)</a></p> </li> </ul> </div> </div> </div> </article> </div> </main> </div> <div class='grid-container incubator-area' style='margin-top: 64px'> <div class='grid-x grid-padding-x'> <div class='large-auto cell text-center'> <a href="https://www.apache.org/"> <img style="width: 320px" title="Apache Software Foundation" src="../../../_/images/asf_logo_wide.svg" /> </a> </div> <div class='large-auto cell text-center'> <a href="https://www.apache.org/events/current-event.html"> <img style="width:234px; height: 60px;" title="Apache Software Foundation current event" src="https://www.apache.org/events/current-event-234x60.png"/> </a> </div> </div> </div> <footer> <div class="grid-container"> <div class="grid-x grid-padding-x"> <div class="large-auto cell"> <h1><a href="../../../front/main/about">About</a></h1> <ul> <li><a href="../../../front/main/community/who">Who's Who</a></li> <li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li> <li><a href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> <li><a href="https://www.apache.org/security/">Security</a></li> </ul> </div> <div class="large-auto cell"> <h1><a href="../../../front/main/community">Community</a></h1> <ul> <li><a href="../../../front/main/community/mailing-lists">Mailing lists</a></li> <li><a href="../../../front/main/community/committer">Becoming a committer</a></li> <li><a href="../../../front/main/community/events">NetBeans Events</a></li> <li><a href="https://www.apache.org/events/current-event.html">Apache Events</a></li> </ul> </div> <div class="large-auto cell"> <h1><a href="../../../front/main/participate">Participate</a></h1> <ul> <li><a href="../../../front/main/participate/submit-pr">Submitting Pull Requests</a></li> <li><a href="../../../front/main/participate/report-issue">Reporting Issues</a></li> <li><a href="../../../front/main/participate/#documentation">Improving the documentation</a></li> </ul> </div> <div class="large-auto cell"> <h1><a href="../../../front/main/help">Get Help</a></h1> <ul> <li><a href="../../../front/main/help/#documentation">Documentation</a></li> <li><a href="../../../wiki/main/wiki">Wiki</a></li> <li><a href="../../../front/main/help/#support">Community Support</a></li> <li><a href="../../../front/main/help/commercial-support">Commercial Support</a></li> </ul> </div> <div class="large-auto cell"> <h1><a href="../../../front/main/download">Download</a></h1> <ul> <li><a href="../../../front/main/download">Releases</a></li> <li><a href="https://plugins.netbeans.apache.org/">Plugins</a></li> <li><a href="../../../front/main/download/#_daily_builds_and_building_from_source">Building from source</a></li> <li><a href="../../../front/main/download/#_older_releases">Previous releases</a></li> </ul> </div> </div> </div> </footer> <div class='footer-disclaimer'> <div class="footer-disclaimer-content"> <p>Copyright © 2017-2024 <a href="https://www.apache.org">The Apache Software Foundation</a>.</p> <p>Licensed under the Apache <a href="https://www.apache.org/licenses/">license</a>, version 2.0</p> <div style='max-width: 40em; margin: 0 auto'> <p>Apache, Apache NetBeans, NetBeans, the Apache feather logo and the Apache NetBeans logo are trademarks of <a href="https://www.apache.org">The Apache Software Foundation</a>.</p> <p>Oracle and Java are registered trademarks of Oracle and/or its affiliates.</p> <p>The Apache NetBeans website conforms to the <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Apache Software Foundation Privacy Policy</a></p> </div> </div> </div> <script src="../../../_/js/vendor/lunr.js"></script> <script src="../../../_/js/search-ui.js" id="search-ui-script" data-site-root-path="../../.." data-snippet-length="100" data-stylesheet="../../../_/css/search.css"></script> <script async src="../../../search-index.js"></script> <script src="../../../_/js/vendor/jquery-3.7.1.min.js"></script> <script src="../../../_/js/vendor/what-input.js"></script> <script src="../../../_/js/vendor/foundation.min.js"></script> <script src="../../../_/js/vendor/jquery.colorbox-min.js"></script> <script src="../../../_/js/netbeans.js"></script> <script> $(function(){ $(document).foundation(); }); </script> <script src="../../../_/js/vendor/highlight-11.9.0.min.js"></script> <script> document.addEventListener('DOMContentLoaded', (event) => { document.querySelectorAll('pre code').forEach((el) => { hljs.highlightElement(el); }); }); </script> </body> </html>