if (instance == null)
if (instances == null) instances = new HashMap();  Object o = instances.get(component); MetalSplitPaneUI instance; if (o == null) {
  public static ComponentUI createUI(JComponent component)  {    if (instance == null)      instance = new MetalSplitPaneUI();    return instance;  }