Login  Register

(no subject)

Posted by dscho on Jun 17, 2010; 1:32pm
URL: http://imagej.273.s1.nabble.com/no-subject-tp3687900.html

cc: [hidden email]
Subject: Re: Preference Weirdness
In-Reply-To: <[hidden email]>
Message-ID: <alpine.DEB.1.00.1006171529550.11237@intel-tinevez-2-302>
References: <[hidden email]>            <[hidden email]> <[hidden email]>
User-Agent: Alpine 1.00 (DEB 882 2007-12-20)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Y-GMX-Trusted: 0

Hi,

On Thu, 17 Jun 2010, [hidden email] wrote:

> Can anyone explain what I'm doing wrong regarding using the ImageJ
> preferences?

Prefs.get() != Prefs.getString().

http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=ImageJA.git;a=blob;f=ij/Prefs.java;hb=refs/heads/master#l443

http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=ImageJA.git;a=blob;f=ij/Prefs.java;hb=refs/heads/master#l219

If you do not see it right away, look for KEY_PREFIX.

Hth,
Johannes

P.S.: This is why Open Source is so nice: you can always look at the code
to find out why something does not work.