
Undocumented Secrets of MATLAB
®
-Java Programming440
it can only be set via the rst of these alternatives, using jFrame.setUIControlBackground-
CompatibilityMode. It also does not appear as a property in get(jFrame), although
get(jFrame,'UI...') works as expected ....
The value of UIControlBackgroundCompatibilityMode is normally 0 (=jFrame.
UICONTROLBACKGROUND_OS), which lets the platform-dependent OS (Operating System)
decide on the uicontrol’s background appearance. It can also be set to 1 (=jFrame.
UICONTROLBACKGROUND_COMPATIBLE), which will cause all subsequent uicontrols in
the gure to have a background ...