Rank: 411995 based on 0 downloads (last 30 days) and 0 file submitted
photo

Dan

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Dan View all
Updated File Comments Rating
20 Oct 2014 UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman

Thanks!!

20 Oct 2014 UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman

Thanks for this great tool, Yair.

I have problems using the latest version, though: In both HG (2014a) and HG2 (2014b), i get an error using the following syntax, which worked before:

h.fig = figure();
h.menu = uicomponent('Parent',h.fig,'style','JComboBox',{'A','B','C'},'editable',true);
h.menu.JavaComponent.getSelectedItem

error is: Attempt to reference field of non-structure array.

Do I have to change the syntax in the new version?

Thanks, Daniel

17 Oct 2014 Limit figure size Set minimal or maximal size of a figure Author: Jan Simon

Thanks for the script it has been very useful for me.

It seems, there is a small compability issue with 2014b and the new graphics system (HG2). To access the java frame correctly, after line 99 of your code you need to add another catch for HG2:
jClient = jFrame.fHG2Client;
(see here http://undocumentedmatlab.com/blog/hg2-update#observations)

17 Oct 2014 Limit figure size Set minimal or maximal size of a figure Author: Jan Simon

21 Sep 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Ben, Hi David. Thanks for sharing this very useful tool.

I enconuntered a problem with the mousepointerhandler class (Linux, R2011a):
If I register a new pointer for an axes object within a figure which has units set to normalized, the axes position is not identified correctly. I could resolve the issue by changing the reference figure handle from 0 to figh in line 120 in the mousepointerhandler classdef.

Contact us