
Undocumented Secrets of MATLAB
®
-Java Programming84
these containers. MATLAB objects such as axes (for plots or images) and uicontrols cannot
be added, since they do not have a Container wrapper.
†
Therefore, feel free to use these Java
containers as long as their contained GUI is limited to Java components (JButton, JComboBox,
etc.). This limitation is very annoying — it would be very useful to be able to place MATLAB
axes or uicontrols within a JTabbedPane or JSplitPane. Instead, we need to rely on
MATLAB-based workarounds (uitab and uisplitpane, see Section 4.3 and Chapter 10, respec-
tively), which are cumbersome compared ...