I\'m using a Windows 7 machine whose \"Control Panel\\Clock, Language, and Region\" is \"Denmark\"
According to the documentation for Scanner:
<
There are two different Locale categories, one for display and one for format. The scanner uses Locale.getDefault(Locale.Category.FORMAT) but if you call Locale.getDefault() you get the locale for display. The setLocale(Locale) method sets both.
Locale.getDefault(Locale.Category.FORMAT)
Locale.getDefault()
setLocale(Locale)