VLab Common 1.2

pl.psnc.vlab.util.swing.gui
Class SwingLocale

java.lang.Object
  extended by pl.psnc.vlab.util.swing.gui.SwingLocale

public abstract class SwingLocale
extends java.lang.Object

SwingLocale class - utility methods for setting the locale of the swing components.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Constructor Summary
SwingLocale()
           
 
Method Summary
static void initJFileChooser(java.util.Locale locale)
          Initialize the JOption pane to the specified locale
static void initJOptionPane(java.util.Locale locale)
          Initialize the JOption pane to the specified locale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingLocale

public SwingLocale()
Method Detail

initJFileChooser

public static void initJFileChooser(java.util.Locale locale)
                             throws VlabException
Initialize the JOption pane to the specified locale

Parameters:
locale - locale which will be used to display button names
Throws:
VlabException

initJOptionPane

public static void initJOptionPane(java.util.Locale locale)
                            throws VlabException
Initialize the JOption pane to the specified locale

Parameters:
locale - locale which will be used to display button names
Throws:
VlabException

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.