public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
+ String programName = "Person Comparator";
+
+ Eye blackEye = new Eye("black");
+ Eye greenEye = new Eye("green");
+ Eye blueEye = new Eye("blue");
+ Eye brownEye = new Eye("brown");
+
+ //Person person = new Person();
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
- new HelloWorldSwing("HelloWorldSwing").showGUI();
+ new MainWindowsView(programName).showGUI();
}
});
}