< prev index next >

src/java.desktop/share/classes/javax/swing/UIDefaults.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  50 import java.awt.Dimension;
  51 import java.beans.PropertyChangeListener;
  52 import java.security.AccessController;
  53 import java.security.AccessControlContext;
  54 import java.security.PrivilegedAction;
  55 
  56 import sun.reflect.misc.MethodUtil;
  57 import sun.reflect.misc.ReflectUtil;
  58 import sun.swing.SwingAccessor;
  59 import sun.swing.SwingUtilities2;
  60 
  61 /**
  62  * A table of defaults for Swing components.  Applications can set/get
  63  * default values via the <code>UIManager</code>.
  64  * <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans&trade;
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @see UIManager
  75  * @author Hans Muller
  76  * @since 1.2
  77  */
  78 @SuppressWarnings("serial") // Same-version serialization only
  79 public class UIDefaults extends Hashtable<Object,Object>
  80 {
  81     private static final Object PENDING = new Object();
  82 
  83     private SwingPropertyChangeSupport changeSupport;
  84 
  85     private Vector<String> resourceBundles;
  86 
  87     private Locale defaultLocale = Locale.getDefault();
  88 
  89     /**
  90      * Maps from a Locale to a cached Map of the ResourceBundle. This is done




  50 import java.awt.Dimension;
  51 import java.beans.PropertyChangeListener;
  52 import java.security.AccessController;
  53 import java.security.AccessControlContext;
  54 import java.security.PrivilegedAction;
  55 
  56 import sun.reflect.misc.MethodUtil;
  57 import sun.reflect.misc.ReflectUtil;
  58 import sun.swing.SwingAccessor;
  59 import sun.swing.SwingUtilities2;
  60 
  61 /**
  62  * A table of defaults for Swing components.  Applications can set/get
  63  * default values via the <code>UIManager</code>.
  64  * <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @see UIManager
  75  * @author Hans Muller
  76  * @since 1.2
  77  */
  78 @SuppressWarnings("serial") // Same-version serialization only
  79 public class UIDefaults extends Hashtable<Object,Object>
  80 {
  81     private static final Object PENDING = new Object();
  82 
  83     private SwingPropertyChangeSupport changeSupport;
  84 
  85     private Vector<String> resourceBundles;
  86 
  87     private Locale defaultLocale = Locale.getDefault();
  88 
  89     /**
  90      * Maps from a Locale to a cached Map of the ResourceBundle. This is done


< prev index next >