| 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 | } |