Login  Register

setYesLabel and setNoLabel

Posted by Eirinn Mackay on Jul 02, 2009; 1:25am
URL: http://imagej.273.s1.nabble.com/setYesLabel-and-setNoLabel-tp3691928.html

Hi,
I'm building a GUI for my plugin and I've just realised I could  
achieve quite a bit with the GenericDialog if I could set the captions  
of the Yes and No buttons. In my case, I want the no button to say  
"Add another file" and the yes button to say "Run batch". I think this  
is a very simple way of making the generic dialog more versatile.
So would it be possible to add two more functions to the GenericDialog  
class?
Kind regards,
Eirinn
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Eirinn Mackay
Research Assistant
Bartlett Group L6
Queensland Brain Institute
Brisbane, Australia
07 334 66381