2 |
* Copyright (c) 2009 Martin O. J. Schmitz. |
* Copyright (c) 2009 Martin O. J. Schmitz. |
3 |
* |
* |
4 |
* This file is part of the SCHMITZM library - a collection of utility |
* This file is part of the SCHMITZM library - a collection of utility |
5 |
* classes based on Java 1.6, focussing (not only) on Java Swing |
* classes based on Java 1.6, focusing (not only) on Java Swing |
6 |
* and the Geotools library. |
* and the Geotools library. |
7 |
* |
* |
8 |
* The SCHMITZM project is hosted at: |
* The SCHMITZM project is hosted at: |
37 |
import java.util.Locale; |
import java.util.Locale; |
38 |
|
|
39 |
import javax.swing.JComponent; |
import javax.swing.JComponent; |
|
import javax.swing.JTable; |
|
40 |
|
|
41 |
import org.apache.log4j.Logger; |
import org.apache.log4j.Logger; |
42 |
|
|
53 |
public static final String NO_TRANSLATION = "NO TRANSLATION"; |
public static final String NO_TRANSLATION = "NO TRANSLATION"; |
54 |
public static final String DEFAULT_KEY = "default"; |
public static final String DEFAULT_KEY = "default"; |
55 |
static final Logger log = Logger.getLogger(Translation.class); |
static final Logger log = Logger.getLogger(Translation.class); |
56 |
static String activeLang = "fr"; |
static String activeLang = Locale.getDefault().getLanguage(); |
57 |
|
|
58 |
static protected List<PropertyChangeListener> listeners = new ArrayList<PropertyChangeListener>(); |
static protected List<PropertyChangeListener> listeners = new ArrayList<PropertyChangeListener>(); |
59 |
|
|