
233Uitools
statusbarTxt.setForeground(java.awt.Color.red);
set(statusbarTxt,'Background','yellow');
set(statusbarTxt,'Background',[1,1,0]); % an alternative. . .
A colored status bar with no corner grip
Note that the status bar is not an HG object, and cannot be accessed via ndobj, ndall, or the
gure’s HG hierarchy. Similarly, clf does not delete the status bar. In short, it is not a regular
MATLAB handle.
Also, note that the status bar is 20 pixels high across the entire bottom of the gure. It hides
everything between pixel heights 0–20, even parts of uicontrols, regardless of which was cre-
ated rst or the relative ComponentZOrder in the f