uses default locale
only french and english supported
This commit is contained in:
@@ -49,7 +49,7 @@ public class Display extends JFrame
|
||||
// to please eclipse, not supposed to be serialized
|
||||
private static final long serialVersionUID = 8500214871372184418L;
|
||||
|
||||
final static ResourceBundle labels = ResourceBundle.getBundle("LabelsBundle", Locale.FRENCH, Display.class.getClassLoader(), new UTF8Control());
|
||||
final static ResourceBundle labels = ResourceBundle.getBundle("LabelsBundle", Locale.getDefault(), Display.class.getClassLoader(), new UTF8Control());
|
||||
|
||||
MazeComponent maze;
|
||||
MazeControler controler;
|
||||
@@ -841,6 +841,8 @@ public class Display extends JFrame
|
||||
int W = 600;
|
||||
int H = 400;
|
||||
|
||||
System.out.println("Default Locale " + Locale.getDefault());
|
||||
|
||||
if ( (pArgs.length > 0) && (pArgs[0].length() > 0))
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user