Login  Register

Weird behavior with GenericDialog.addImage

Posted by CARL Philippe (LBP) on Jul 30, 2020; 9:29am
URL: http://imagej.273.s1.nabble.com/Weird-behavior-with-GenericDialog-addImage-tp5023785.html

Dear all (probably Wayne),
When I'm compiling a GenericDialog with an addImage method loading a picture of a given size and I decrease later on the picture size, the method often "remembers" the previously compiled size.
And in the case this issue happens, the only solution I found is to kill ImageJ and launch it again.
I have noticed this issue only going from a bigger sized picture to a smaller one not the inverse way.
And if I go from a small picture to a bigger one and then back to the first one I won't have the issue as well.
Wayne: Thanks a lot for the addDirectoryField and addFileField methods update.
The Drag&Drop feature addition is really cool!!!
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