NetBeans Architecture Answers for Utilities API module

WARNING: answering questions version 1.25 rather than the current 1.29.

Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
UtilitiesAPIExportedOfficial .../org/openide/util/doc-files/api.html

AWTBridgeExportedPrivate .../modules/openide/util/

a class that is looked up in Lookup.getDefault() and if registered can provide better UI elements for Actions.

WeakListener.setAccessibleImportedUnder Development

The module is needed for compilation. The module is used during runtime. Specification version 9.3 is required.


used to call the remove method using reflection


The module is needed for compilation. The module is used during runtime. Specification version 8.14 is required.


XMLUtil class is loading a class from core/core.jar to initialize the correct parser factory. This is a fix for issue 68942.

SharedClassObject.setAccessibleExportedUnder Development .../org/openide/util/SharedClassObject.html

used to instantiate subclasses.

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
BrandingSupportExportedOfficial .../org/openide/util/NbBundle.html

which is similar to localization but also supports changes of resorces for application build on top of NetBeans. This is handled by our class NbBundle which reimplements the JDK's standard ResourceBundle to to take branding into the consideration.


read from JComponent.getClientProperty to simulate the standard javahelp behaviour and extract the help id for given component.


SystemAction reacts to expected requests from UI Utilities module for iconBase property by returning value based on its result of its iconResource() method.


For purposes of SystemOption the
SharedClassObject handles getProperty ("org.openide.util.SharedClassObject.initialize") in a special way, by returning null if initialization is not running and Boolean.TRUE if it is.

OpenIDE-Transmodal-ActionExportedUnder Development

CallbackSystemAction checks whether action.getValue("OpenIDE-Transmodal-Action") returns Boolean.TRUE to enable it in dialogs, otherwise the action is disabled when there is an open dialog.

Group of interfaces
Interface NameIn/OutStabilitySpecified in What Document?
FileLocationExportedUnder Development

the JAR file is located in platform cluster under lib/org-openide-util.jar

Group of lookup interfaces
Interface NameIn/OutStabilitySpecified in What Document?

because of the API separation,
CallableSystemAction uses lookup for ActionsBridge provided by org-openide-actions module when looking for org.openide.actions.ActionManager implementation.

LookupSharedClassObjectExportedUnder Development

singleton subclasses of
SharedClassObject are searched for using Lookup.


actionsGlobalContext searches for ContextGlobalProvider in Lookup.getDefault(). The provider is usually provided by window system implementation.

LookupErrorManagerExportedUnder Development

ErrorManager delegates its methods to all instances of ErrorManagers found in Lookup

General Information

Project and platform dependencies


Compatibility with environment

Access to resources

Lookup of components

Execution Environment

Format of files and protocols

Performance and Scalability

Built on March 18 2018.  |  Portions Copyright 1997-2018 Oracle. All rights reserved.