Constructor.
VerifierAppFrame frame = new VerifierAppFrame();
//Frames ŶberprŶfen, die voreingestellte GrŮőe haben
//Frames packen, die nutzbare bevorzugte GrŮőeninformationen enthalten, z.B. aus ihrem Layout
if (packFrame) {
frame.pack();
}
else {
frame.validate();
}
//Das Fenster zentrieren
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize = frame.getSize();
if (frameSize.height > screenSize.height) {
frameSize.height = screenSize.height;
}
if (frameSize.width > screenSize.width) {
frameSize.width = screenSize.width;
}
frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
frame.setVisible(true);
frame.classNamesJList.setModel(new VerifierFactoryListModel());
VerifierFactory.getVerifier(Type.OBJECT.getClassName()); // Fill list with java.lang.Object
frame.classNamesJList.setSelectedIndex(0); // default, will verify java.lang.Object