super((StringManagerHelper.getLocalStringsManager().getLocalString
("com.sun.enterprise.tools.verifier.gui.MainFrame" + // NOI18N
".WindowTitle", // NOI18N
"Verify Specification Compliance"))); // NOI18N
setExitOnClose(exitOnClose);
// 508 compliance for the JFrame
this.getAccessibleContext().setAccessibleName(StringManagerHelper.getLocalStringsManager()
.getLocalString("com.sun.enterprise.tools.verifier.gui.MainFrame" + // NOI18N
".jfName", // NOI18N
"Main Window")); // NOI18N
this.getAccessibleContext().setAccessibleDescription(StringManagerHelper.getLocalStringsManager()
.getLocalString("com.sun.enterprise.tools.verifier.gui.MainFrame" + // NOI18N
".jfDesc", // NOI18N
"This is the main window of the verifier tool")); // NOI18N
if (exitOnClose) {
this.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
}
Container contentPane = getContentPane();
mp = new MainPanel(this, jarFileName, verifier);
contentPane.add(mp);
JOptionPane.showMessageDialog(this,
StringManagerHelper.getLocalStringsManager()
.getLocalString("com.sun.enterprise.tools.verifier.gui.Deprecation", // NOI18N
"\nThis GUI has been deprecated. Please use the GUI that comes with NetBeans."), // NOI18N
"WARNING", JOptionPane.WARNING_MESSAGE); // NOI18N