ComponentUI ui = null; if (userUIDefaults != null && userUIDefaults.get(target.getUIClassID()) != null) ui = userUIDefaults.getUI(target); if (ui == null) ui = currentUIDefaults.getUI(target); return ui;
return getDefaults().getUI(target);
  public static ComponentUI getUI(JComponent target)  {    ComponentUI ui = null;    if (userUIDefaults != null        && userUIDefaults.get(target.getUIClassID()) != null)      ui = userUIDefaults.getUI(target);    if (ui == null)      ui = currentUIDefaults.getUI(target);    return ui;  }