Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:59 Go to next message
Thomas C. Franke is currently offline Thomas C. FrankeFriend
Messages: 13
Registered: November 2011
Junior Member
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 12:37 Go to previous message
Lakshmi ShanmugamFriend
Messages: 276
Registered: July 2009
Location: India
Senior Member
Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=91360 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=103127

Lakshmi P Shanmugam
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: Mon Oct 26 23:11:08 GMT 2020

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

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

Back to the top