Search Results for: findjobj

79 relevant articles found:

Faster findjobj

My findjobj utility, created in 2007 and updated over the years, has received wide recognition and is employed by numerous Matlab programs, including a few dozen utilities in the Matlab File Exchange. I am quite proud of this utility and find it ext… Continue reading

Categories: GUI, Handle graphics, High risk of breaking in future versions, Java, UI controls
Tags: , , , , ,
11 Comments

FindJObj – find a Matlab component’s underlying Java object

…we can use this information to display HTML contents in Matlab uicontrols. In other posts, I have shown how a utility called findjobj can be used to access the underlying Java components to enable customizations that are unavailable in standard Matl… Continue reading

Categories: Figure window, GUI, Handle graphics, High risk of breaking in future versions, Java, UI controls, Undocumented feature
Tags: , , , , , ,
69 Comments

Customizing listbox & editbox scrollbars

…e, after I have recently described how the Matlab Editbox can be customized by accessing its underlying Java object using the FindJObj utility. Both the listbox and the multi-line editbox uicontrols share a similar design: a multi-line Java control e… Continue reading

Categories: GUI, Java, Medium risk of breaking in future versions, UI controls
Tags: , , ,
50 Comments

FindJObj GUI – display container hierarchy

In my previous post, I explained how the findjobj utility can be used to access a Matlab component’s underlying Java component. Findjobj has another role: displaying the component hierarchy of complex Matlab containers such as the figure windo… Continue reading

Categories: Figure window, GUI, Handle graphics, High risk of breaking in future versions, Java, UI controls, Undocumented feature
Tags: , , , , , ,
7 Comments

Uitable cell colors

…g that actually works… To solve the auto-resizing issue, we resort to a bit of Java magic powder. We start by using the findjobj utility to get the table’s underlying Java reference handle. This is the containing scrollpane, and we are in… Continue reading

Categories: GUI, Java, Medium risk of breaking in future versions, UI controls
Tags: , , , , ,
115 Comments

HG2 update

…pixel or two sideways in HG2 compared to HG1. This has no visual importance except in very rare cases, but it does affect my findjobj utility, which relies on the component’s position to find its underlying Java object. I have updated findjobjContinue reading

Categories: Figure window, GUI, Handle graphics, Hidden property, Low risk of breaking in future versions, Stock Matlab function, Undocumented feature
Tags: , , , , , , ,
134 Comments

Setting line position in an edit-box uicontrol

…nt log that keeps adding new entries at the bottom. The first step in accessing the underlying Java control is to download my FindJObj submission on the File Exchange. FindJObj searches down the window frame hierarchy until it finds a Java control wi… Continue reading

Categories: GUI, Java, Medium risk of breaking in future versions, UI controls
Tags: , , ,
21 Comments

Customizing combobox popups

…t The first step is to find the underlying Java component of the Matlab combobox (aka popup) uicontrol. This is done using my findjobj utility: % Create the Matlab combobox items = {'<HTML><FONT color="red">Hello</Font&… Continue reading

Categories: GUI, Java, Medium risk of breaking in future versions, UI controls, Undocumented feature
Tags: , , ,
8 Comments

Variables Editor scrolling

…omize the Editor). From this instance we can find the handle to the appropriate com.mathworks.mlwidgets.array.ArrayTable with findjobj (remember that there could be multiple ArrayTables, one for each inspected variable). Finally, we scroll to the des… Continue reading

Categories: Desktop, Guest bloggers, High risk of breaking in future versions, Java, Undocumented feature
Tags: , , , , ,
6 Comments

Disabling menu entries in deployed docked figures

…he callbacks are removed if a new figure is docked. The handles to the document bar buttons could be found using Yair’s findjobj utility. We have already seen that the Editor container is analogous to the Figures docking container. So let&#8217… Continue reading

Categories: Figure window, Guest bloggers, High risk of breaking in future versions, Java, Listeners, Undocumented feature
Tags: , , , , , , , , , ,
14 Comments