private static ComponentUI createDefaultWindowsRootPaneUI() {
    try {
      return (ComponentUI)Class.forName("com.sun.java.swing.plaf.windows.WindowsRootPaneUI").newInstance();
    }
    catch (Exception e) {
      return new BasicRootPaneUI();
    }
  }
private static ComponentUI createDefaultWindowsRootPaneUI()