diff options
author | Holger Zickner <[email protected]> | 2005-05-12 12:52:50 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2005-05-12 12:52:50 +0000 |
commit | 70af2ed3587c2cead200aba63d201501da67af3c (patch) | |
tree | 29682c024d329a5430b6c43f28d8465e47074967 /src | |
parent | 3b306d7e1b911c59908a62f4a30fa605a8dd3f06 (diff) |
use US locale (labels in filechooser, number format)
Diffstat (limited to 'src')
-rw-r--r-- | src/jake2/Jake2.java | 5 | ||||
-rw-r--r-- | src/jake2/qcommon/Q2DataDialog.java | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/jake2/Jake2.java b/src/jake2/Jake2.java index a40bd84..2155a19 100644 --- a/src/jake2/Jake2.java +++ b/src/jake2/Jake2.java @@ -2,7 +2,7 @@ * Jake2.java * Copyright (C) 2003 * - * $Id: Jake2.java,v 1.6 2004-09-25 15:17:44 hzi Exp $ + * $Id: Jake2.java,v 1.7 2005-05-12 12:52:50 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -29,6 +29,8 @@ import jake2.client.SCR; import jake2.qcommon.*; import jake2.sys.Sys; +import java.util.Locale; + /** * Jake2 is the main class of Quake2 for Java. */ @@ -45,6 +47,7 @@ public final class Jake2 { */ public static void main(String[] args) { + Locale.setDefault(Locale.US); Q2Dialog.setVisible(true); // in C the first arg is the filename diff --git a/src/jake2/qcommon/Q2DataDialog.java b/src/jake2/qcommon/Q2DataDialog.java index b8a24d2..16c1bf5 100644 --- a/src/jake2/qcommon/Q2DataDialog.java +++ b/src/jake2/qcommon/Q2DataDialog.java @@ -2,7 +2,7 @@ * Q2DataDialog.java * Copyright (C) 2003 * - * $Id: Q2DataDialog.java,v 1.12 2004-09-26 21:12:40 hzi Exp $ + * $Id: Q2DataDialog.java,v 1.13 2005-05-12 12:52:50 hzi Exp $ */ package jake2.qcommon; @@ -14,8 +14,7 @@ import java.awt.event.*; import java.io.*; import java.net.URL; import java.net.URLConnection; -import java.util.Enumeration; -import java.util.Vector; +import java.util.*; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; @@ -41,6 +40,8 @@ public class Q2DataDialog extends javax.swing.JDialog { } private void initComponents() {//GEN-BEGIN:initComponents + JComponent.setDefaultLocale(Locale.US); + java.awt.GridBagConstraints gridBagConstraints; choosePanel = new javax.swing.JPanel(); |