Previous Message |
Next Message Previous in Topic | Next in Topic Previous by Same Author | Next by Same Author Previous Page (May 2002) | Back to Main IMAGEJ Page | |
|
Reply
| Post a New Message |
Join or Leave IMAGEJ, or Change Options
|
Search |
|
Chronologically |
Most Recent First |
Wrap Text (Proportional Font) |
Don't Wrap Text (Non-proportional Font) |
| |
References: <[log in to unmask]> Content-Type: text/plain; charset="iso-8859-1" Message-ID: <[log in to unmask]> Date: Mon, 27 May 2002 23:09:17 -0400 Reply-To: ImageJ Interest Group <[log in to unmask]> Sender: ImageJ Interest Group <[log in to unmask]> From: Wayne Rasband <[log in to unmask]> Subject: Re: missing import menu item In-Reply-To: <000001c2037e$35594280$0d01010a@oz>The missing import menu bug will be fixed in ImageJ 1.28g, due by the end of this week. Thanks for tracking this problem down. -wayne At 02:53 AM 5/25/02 +0300, you wrote: >The problem is not about the JMVs. It's the Menus.java in the source >code! >In the "addsubMenu" method, the second parameter "String name" is >converted to lower case. > >----Line 231 "String key = name.toLowerCase();"---- > >toLowerCase() has an empty parameter that causes to take the default OS >settings. > >While adding the import menu, the string name is "Import". So the "I" >character in the string "Import" is thought to become "i". >But in some operating systems having languages other than English, >the "I" may become "ý" but not "i". This is the reason why Import menu >is not added to the File menu. > >Changing the >"String key = name.toLowerCase();" > >to >"String key = name.toLowerCase(Locale.US);" > >gives the missing Import menu (and the others:)). > >-ozan > > >-----Original Message----- >From: ImageJ Interest Group [mailto:[log in to unmask]] On Behalf Of >Wayne Rasband >Sent: Thursday, May 23, 2002 11:30 PM >To: [log in to unmask] >Subject: Re: missing import menu item > >> A little puzzled here. I have ImageJ (latest beta v28e) running on a >> windoz >> 98. Decided to move up to a windoz 2000 machine. Same imageJ but >> File->Import menu item is missing. What gives? > >ImageJ 1.28e works fine for me on Windows 2000. > >> What do I have extra in 98 that I do not have at 2000? > >You may be using different JVMs on the two machines. Try downloading the >ImageJ 1.27 Windows distribution to make sure you have the latest JVM >(JRE 1.3.1_3). You could also try downloading another copy of the v1.28e >ij.jar. > >-wayne > > >______________________________________________________________________________ >ifrance.com, l'email gratuit le plus complet de l'Internet ! >vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... >http://www.ifrance.com/_reloc/email.emailif > >
Center for Information Technology National Institutes of Health Bethesda, Maryland 20892 301 594 6248 (v) 301 496 8294 (TDD) Comments and Assistance Accessibility |