instances.put(component, instance); } else instance = (MetalInternalFrameUI) o;
  public static ComponentUI createUI(JComponent component)  {    if (instance == null)      instance = new MetalInternalFrameUI((JInternalFrame) component);    return instance;  }