|DateTime Widget Date Format [message #695830]
||Tue, 12 July 2011 15:48
| Jack Mising name
Registered: August 2010
I am migrating from the nebula DateChooser widget to the SWT DateTime widget as it now has a drop-down date picker.|
I have the code finished now but I have noticed that the SWT widget is not displaying the date format specified by my system locale. It is showing mm/dd/yyyy instead of the expected dd/mm/yyyy.
My system locale is set correctly for the UK and checking the Java VM locale (via Locale.getDefault() immediately before creating the DateTime widgets) which shows that Java knows where I am yet the widget displays incorrectly.
I know that the widget is meant to interrogate the system locale, so is there a setting anywhere that could be overriding this?
I am running the Indigo release of Eclipse (though obviously my code precedes this) on Ubuntu 10.10 (Maverick) x64.
Can anyone help?
Powered by FUDForum
. Page generated in 0.01879 seconds