
Undocumented Secrets of MATLAB
®
-Java Programming358
jButton, this determines a at (2D) versus 3D appearance (note: the at appearance
does not distinguish between depressed/undepressed states):
†
ContentAreaFilled = true
ContentAreaFilled = false
This property can be used to display a linkable label in the GUI gure (there are
other ways to achieve this, but it seems to me this is one of the easiest). For example,
this property is used to display the link in the FindJObj utility:
>> labelStr = '<html><center><a href="">Undocumented<br>Matlab.com';
>> hButton = uicontrol('string',labelStr,'pos',[20,20,100,35]);
>> jButton = findjobj(hButton)
jButton ...