mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

ctissot
10.05.2008 eb90e65de9f332ecfd306bb5acd6ae327c07c3d0
opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/BuildListDownloadErrorPanel.java
@@ -174,29 +174,4 @@
      }
    }
  }
//  public static void main(String[] args) {
//    String[] options = {"Retry", "Close"};
//    try {
//      JOptionPane op = new JOptionPane(
//      //JOptionPane.showOptionDialog(null,
//              new BuildListDownloadErrorPanel(
//                      new RemoteBuildManager(null,
//                              new URL("http://builds.opends.org")),
//                      new IllegalArgumentException("abc")),
//              JOptionPane.ERROR_MESSAGE,
//              JOptionPane.YES_NO_OPTION,
//              null,
//              options,
//              null);
//      op.setBackground(Color.WHITE);
//      //op.getRootPane().setBackground(Color.WHITE);
//      JDialog dlg = op.createDialog(null, "Network Error");
//      dlg.getContentPane().setBackground(Color.WHITE);
//      dlg.setVisible(true);
//    } catch (MalformedURLException e) {
//      e.printStackTrace();
//    }
//  }
}