On 26 Aug 2002 at 13:57, Wolfram Rittmeyer wrote:

> JMeter now requires JDK1.4 because of ChangeLanguage's usage of the
> single-argument constructor of Locale. I think for
> backwards-compatibilty it would be better to use the
> two-arguments-constructor with an empty String as second argument. I
> think there is no point in enforcing JDK1.4-use just for one source-file
> only. Therefore I suggest changing line 33 of ChangeLanguage to the
> follwoing:
> 
> Locale loc = new Locale(((Component)e.getSource()).getName(), "");

Thanks - I didn't check older JDK's.

> 
> Furthermore ChangeLanguage does only some parts of its job. It just
> changes the language for everything new after that. But it doesn't
> repaint/translate the menubar. 

That's true.  There are many classes that set up static variables to hold resource 
values.  They 
would all have to change.  I basically decided to address them as I go rather than 
finding them 
all at once.

As far as re-painting components already on the screen, that's considerably more 
difficult 
since you'd have to change the label of every gui component.  

-Mike
> 
> Greetings,
> 
> Wolfram
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to