25 |
* |
* |
26 |
* Contributors: |
* Contributors: |
27 |
* Martin O. J. Schmitz - initial API and implementation |
* Martin O. J. Schmitz - initial API and implementation |
28 |
* Stefan A. Krüger - additional utility classes |
* Stefan A. Tzeggai - additional utility classes |
29 |
******************************************************************************/ |
******************************************************************************/ |
30 |
package skrueger.i8n; |
package skrueger.i8n; |
31 |
|
|
62 |
public class SwitchLanguageDialog extends JDialog { |
public class SwitchLanguageDialog extends JDialog { |
63 |
protected Logger LOGGER = Logger.getLogger(SwitchLanguageDialog.class); |
protected Logger LOGGER = Logger.getLogger(SwitchLanguageDialog.class); |
64 |
|
|
65 |
private static final long serialVersionUID = 1L; |
|
66 |
|
|
67 |
private JPanel jContentPane = null; |
private JPanel jContentPane = null; |
68 |
|
|
84 |
* A dialog to select one of the available languages. If only one language |
* A dialog to select one of the available languages. If only one language |
85 |
* is available, select it directly. Creating this object automatically |
* is available, select it directly. Creating this object automatically |
86 |
* makes it visible, unless there is only one language to choose from.. it |
* makes it visible, unless there is only one language to choose from.. it |
87 |
* that case it disposes itself autmatically. |
* that case it disposes itself automatically. |
88 |
*/ |
*/ |
89 |
public SwitchLanguageDialog(final Component owner, |
public SwitchLanguageDialog(final Component owner, |
90 |
final List<String> languages) { |
final List<String> languages) { |