The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.
represents a live interface instance with root widget root, wrapping the active widgets and environment.
- To use GUIObject, you first need to load GUIKit using Needs["GUIKit`"].
- A GUIObject represents a live interface instance wrapping both the created Java objects as well as the runtime environment associated with the scripting code and Wolfram Language contexts.
- GUIObject objects are comprised mostly of private definitions, but the first argument is a JavaObject instance of the top-level widget in the interface and supports direct J/Link style calls.
- A GUIObject is created whenever GUILoad or GUIRun is called.
- A GUIObject is released interactively when an interface is closed or programmatically using CloseGUIObject or ReleaseGUIObject.
Basic Examples (1)
The first argument is a normal JavaObject instance: