
423Customizing MATLAB
®
Controls
HTML formatting is generally irrelevant for this control — it is only relevant (and sup-
ported) for the tooltip.
LabelPeer$1 is actually a simple JPanel that has a simple Border (a javax.swing.bor-
der.LineBorder
object), which can be customized as explained in Sections 3.3.1, 6.1, and 6.5.1
(Single-line editbox). As such, it does not have any interesting formatting properties, methods
or callbacks (except the Border). For this and many other reasons, it is advisable to use
MATLAB uipanel wherever frames were considered for use — read the following section for
more details.
6.11 Uipane ...