
Undocumented Secrets of MATLAB
®
-Java Programming378
Since most of the multi-line editbox customizations would naturally be needed for the edit-
ing component, we need to dig within the scrollpane container to get its reference:
>> jScrollPane = findjobj(hEditbox);
>> jScrollPane.list
com.mathworks.hg.peer.utils.UIScrollPane[. . .]
javax.swing.JViewport[. . .]
com.mathworks.hg.peer.EditTextPeer$hgTextEditMultiline[. . .]
com.mathworks.hg.peer.utils.UIScrollPane$1[. . .]
com.sun.java.swing.plaf.windows.WindowsScrollBarUI$WindowsArrowButton[. . .]
com.sun.java.swing.plaf.windows.WindowsScrollBarUI$WindowsArrowButton[. . .]
com.mathworks.hg.peer.utils.UIScrollPane$2[. ...