Login  Register

Re: Modal color picker

Posted by Wayne Rasband on Sep 24, 2007; 4:26pm
URL: http://imagej.273.s1.nabble.com/Modal-color-picker-tp3698337p3698338.html

> I'd like to use the color picker as a modal window from my plugin.  
> I.e. I want it to have the user choose a color then click on OK and
> have the color picker return the color chosen.
>
> It this possible?

The color picker (Image>Color>Color Picker) is not model but the color
chooser is. The color chooser (ij.gui.ColorChooser) is used when you
double click on a color in the color picker. It is also used by the
Image>Color>Edit LUT command.

-wayne