Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Spinner internationalize(How to internationalize the spinners floating point visualization)
SWT Spinner internationalize [message #875920] Wed, 23 May 2012 10:59 Go to next message
Eclipse UserFriend
Hi,

I wanna allow the user of my application to change the language independently of those set by system. I set the locate
Locale.setDefault(Locale.UK);

according to the selection of user. All numbers I display and parse use a NumberFormatter using the locale - works.
BUT the SWT-spinner does not. It changes behavior using "." or "," as decimal separator for floats when changing systems language, only. But it does NOT if I change the locate in JVM, only. I know that SWT uses many of OS provided functions, but is there any way to get the expected behavior?

Thx

Thomas
Re: SWT Spinner internationalize [message #876872 is a reply to message #875920] Fri, 25 May 2012 08:37 Go to previous message
Eclipse UserFriend
Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=91360 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=103127
Previous Topic:Showing the system out (from logger) into a text.
Next Topic:oleAutomation:unable to correctly call Visio API QueryCancelGroup
Goto Forum:
  


Current Time: Tue Jul 15 10:01:53 EDT 2025

Powered by FUDForum. Page generated in 0.02914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top