JHotDraw 7.4.1

org.jhotdraw.util
Class LocaleUtil

java.lang.Object
  extended by org.jhotdraw.util.LocaleUtil

public class LocaleUtil
extends java.lang.Object

LocaleUtil provides a setDefault()/getDefault() wrapper to java.util.Locale in order to overcome the security restriction preventing Applets from using their own locale.

Version:
$Id: LocaleUtil.java 604 2010-01-09 12:00:29Z rawcoder $
Author:
Werner Randelshofer

Constructor Summary
LocaleUtil()
          Creates a new instance.
 
Method Summary
static java.util.Locale getDefault()
           
static void setDefault(java.util.Locale newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleUtil

public LocaleUtil()
Creates a new instance.

Method Detail

setDefault

public static void setDefault(java.util.Locale newValue)

getDefault

public static java.util.Locale getDefault()

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.