Undocumented Secrets of MATLAB
®
-Java Programming582
% Matlab container. Two sub-panes (uipanels or frames) are then placed
% on either side of this divider. Property linking and divider callbacks
% are then set in order to ensure that whenever the divider is dragged or
% programmatically modified, the two sub-panes are updated accordingly.
%
% Matlab 6 needs special treatment because in that version Java UI
% components and uipanels were still unavailable. Therefore, standard
% Matlab uicontrol buttons are used to represent the divider, and frames
% (instead of uipanels) represent the sub-panes. Also, hierarchical UI
% controls were not allowed - all controls and axes need to be direct
% children of the containing figure frame, so special handling needs ...