Prev: Global Variables Speed vs. Function Argument Variable Speed
Next: cftool and fit - guessing starting values
From: Ramiro Massol on 16 Feb 2010 11:19 hi I created a jcombobox in the figure toolbar. I need to be able to delete it beforing save the current status of the figure (using hgsave). Does anybody know how to do so? My example code is below: figure hToolbar = findall(gcf,'type','uitoolbar'); jtb = get(get(hToolbar,'JavaContainer'),'ComponentPeer'); jtb(1).addSeparator; jcb = javax.swing.JComboBox({'test'}); any help will be greatly appreciated ramiro BTW, nobody answered about my previous post about how to prevent calling twice a callback of jcombobox. |