Skip navigation links
org.openide.util.ui 9.32

Utilities API

See: Description

Utilities API 
Package Description
Provides ErrorManager - the central place for logging and reproting failures in NetBeans based system.
A set of utility classes covering a few general infrastructure points in the Open APIs.
There are several types of standard actions that should be used for many user interactions within NetBeans.
NetBeans uses special extensions to data transfer.

This module contains general classes needed in NetBeans, extensions to basic JRE contepts, useful methods and other UtilitiesAPI classes.

What is New (see all changes)?

Use Cases

How shall I do or influence logging in NetBeans?

If you are interested in logging from inside your module, or in writing your own log handler or in configuring the whole system, then best place to start is the NetBeans logging guide.

Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...
Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
UtilitiesAPIExportedOfficial .../org/openide/util/doc-files/api.html

DefaultAWTBridgeExportedPrivate .../openide/awt/

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

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.


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.


Images loaded by ImageUtilities.loadImage defines "url" image property for the loaded image.

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

Implementation Details

Where are the sources for the module?

The sources for the module are in the Apache Git repositories or in the GitHub repositories.

What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?


Read more about the implementation in the answers to architecture questions.

Skip navigation links
org.openide.util.ui 9.32