equal
deleted
inserted
replaced
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 } |