示例#1
0
 // ********************************
 //          Defaults
 // ********************************
 public void installDefaults(AbstractButton b) {
   super.installDefaults(b);
   if (!defaults_initialized) {
     icon = UIManager.getIcon(getPropertyPrefix() + "icon");
     defaults_initialized = true;
   }
 }
示例#2
0
 public void uninstallDefaults(AbstractButton b) {
   super.uninstallDefaults(b);
   defaults_initialized = false;
 }