ABSTRACT

An innovative† example of using many of the features discussed in this book is the UISplitPane utility,2 which was chosen by the MATLAB Central team as “Pick of the Week” on March 27, 2009.3 Split-pane functionality was always sorely missed in MATLAB GUI. Most other standard GUI controls have a MATLAB counterpart, but as of MATLAB 7.13 (R2011b) there is no split-pane control. The Swing class JSplitPane provides access to split-pane functionality, but JSplitPane cannot be used as is, because MATLAB axes and controls cannot be placed in its two Java subcontainers. Enter UISplitPane:

Recently, Malcolm Lidierth has posted a set of Java Swing-based utilities to the MATLAB File Exchange (collectively called Project Waterloo).4 This set includes the GSplitPane and GSplitPaneDivider classes, that basically do what UISplitPane does. Readers are highly encouraged to investigate and use Malcolm’s submission, which even includes an interactive demo.