Login  Register

using GenericDialog and the toolbar at the same time

Posted by Ignacio Arganda Carreras on Aug 07, 2008; 10:18am
URL: http://imagej.273.s1.nabble.com/using-GenericDialog-and-the-toolbar-at-the-same-time-tp3695406.html

Dear all,

I am trying to create a new toolbar when calling to my plugin, which is
based on GenericDialog. I managed to change the buttons and appearance
of the toolbar but as soon as i call the plugin and the dialog is shown,
the toolbar gets disabled. It gets enable again as soon as i press OK or
Cancel but i need it to be enable when the dialog is there... Any idea?

Thanks a lot!

ignacio

--
Ignacio Arganda-Carreras
Escuela Politécnica Superior
Laboratorio B-408     Phone: (+34) 91 497 2260
Universidad Autónoma de Madrid
Ctra. de Colmenar Viejo, Km. 15
Madrid 28049,  Spain

E-mail: [hidden email]
Website: http://www.ii.uam.es/~iarganda