jdk/src/share/classes/javax/swing/plaf/nimbus/NimbusLookAndFeel.java
changeset 9769 7af3ada3cf8e
parent 5506 202f599c92aa
child 16088 8edf3fb360ea
equal deleted inserted replaced
9768:07404abef28e 9769:7af3ada3cf8e
   586         }
   586         }
   587         return compiledDefaults.get(prefix);
   587         return compiledDefaults.get(prefix);
   588     }
   588     }
   589 
   589 
   590     private void addDefault(String key, Object value) {
   590     private void addDefault(String key, Object value) {
       
   591         if (compiledDefaults == null) {
       
   592             return;
       
   593         }
       
   594 
   591         String prefix = parsePrefix(key);
   595         String prefix = parsePrefix(key);
   592         if (prefix != null) {
   596         if (prefix != null) {
   593             Map<String, Object> keys = compiledDefaults.get(prefix);
   597             Map<String, Object> keys = compiledDefaults.get(prefix);
   594             if (keys == null) {
   598             if (keys == null) {
   595                 keys = new HashMap<String, Object>();
   599                 keys = new HashMap<String, Object>();