jdk/src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java
changeset 21278 ef8a3a2a72f2
parent 20458 f2423fb3fd19
child 22574 7f8ce0c8c20a
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   431     /**
   431     /**
   432      * Initialize the defaults table with the name of the ResourceBundle
   432      * Initialize the defaults table with the name of the ResourceBundle
   433      * used for getting localized defaults.  Also initialize the default
   433      * used for getting localized defaults.  Also initialize the default
   434      * locale used when no locale is passed into UIDefaults.get().  The
   434      * locale used when no locale is passed into UIDefaults.get().  The
   435      * default locale should generally not be relied upon. It is here for
   435      * default locale should generally not be relied upon. It is here for
   436      * compatability with releases prior to 1.4.
   436      * compatibility with releases prior to 1.4.
   437      */
   437      */
   438     private void initResourceBundle(UIDefaults table) {
   438     private void initResourceBundle(UIDefaults table) {
   439         table.setDefaultLocale( Locale.getDefault() );
   439         table.setDefaultLocale( Locale.getDefault() );
   440         table.addResourceBundle( "com.sun.swing.internal.plaf.basic.resources.basic" );
   440         table.addResourceBundle( "com.sun.swing.internal.plaf.basic.resources.basic" );
   441     }
   441     }