77979dae22387c4523a9cb43dc9b50e57dfc7744
[Persons_Comparator.git] / src / Main.java
1 public class Main {
2
3 public static void main(String[] args) {
4 //Schedule a job for the event-dispatching thread:
5 //creating and showing this application's GUI.
6 String programName = "Person Comparator";
7
8 Eye blackEye = new Eye("black");
9 Eye greenEye = new Eye("green");
10 Eye blueEye = new Eye("blue");
11 Eye brownEye = new Eye("brown");
12
13 //Person person = new Person();
14
15 javax.swing.SwingUtilities.invokeLater(new Runnable() {
16 public void run() {
17 new MainWindowsView(programName).showGUI();
18 }
19 });
20 }
21 }