private static synchronized void maybeInitialize(){
  if (currentAddon != null) {
    UIManager.getLookAndFeelDefaults();
    if (!UIManager.getBoolean(APPCONTEXT_INITIALIZED)) {
      setAddon(currentAddon);
    }
  }
}

private static synchronized void maybeInitialize ( ) { if ( currentAddon != null ) { UIManager . getLookAndFeelDefaults ( ) ; if ( ! UIManager . getBoolean ( APPCONTEXT_INITIALIZED ) ) { setAddon ( currentAddon ) ; } } }
with applets , if you reload the current applet , the uimanager will be reinitialized ( entries previously added by lookandfeeladdons will be removed ) but the addon will not reinitialize because addon reset itself through the static block in components and the classes do not get reloaded . this means component . updateui will fail because it will not find its ui . < p / > this method ensures lookandfeeladdons get re - initialized if needed . it must be called in every component updateui methods .
