Login  Register

directory chooser problems

Posted by Jon Harman on Jan 09, 2008; 9:09pm
URL: http://imagej.273.s1.nabble.com/directory-chooser-problems-tp3697613.html

Hi,

I'm running on a PC.
I added a routine to my plugin that has a directory open dialog using
the ImageJ directory chooser.  If the routine runs then the "look and
feel" of my swing components changes.  I see that the directory chooser
has a Java2.setSystemLookAndFeel() call.  Is this what screws up my
swing components?
I don't know much about getting and setting the look and feel.   How do
I save the lookandfeel  before the directory chooser call so that I can
restore it after the routine is finished?

This does not happen with a file open call.

Thanks for any help.
Jon