GenericDialog components text to be or not to be enabled
Posted by
CARL Philippe (LBP) on
Jun 21, 2020; 2:05pm
URL: http://imagej.273.s1.nabble.com/GenericDialog-components-text-to-be-or-not-to-be-enabled-tp5023548.html
Dear all,
For a given application, I need to disable (i.e. by using ".setEnabled(false);") some GenericDialog components.
And when I'm doing so, the checkboxes and the text associated to them become grey (as I expect it).
But this isn't the case with the texts associated to the TextFields, Sliders and Choices (i.e. only the TextFields, Sliders and Choices contents become grey and inactive but not the text linked to them).
Thus could there be done something so that the texts associated to all GenericDialog components become grey when disabled (whatever type they are)?
I thank you very much in advance for your lighting on this and wish you a nice end of week-end!
My best regards,
Philippe
Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 42 89
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html