Add a MainWindowsView class and use it in the main().
[Persons_Comparator.git] / src / Main.java
CommitLineData
35d7ecda
JB
1public 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.
60971873
JB
6 String programName = "Person Comparator";
7
35d7ecda
JB
8
9 javax.swing.SwingUtilities.invokeLater(new Runnable() {
10 public void run() {
60971873 11 new MainWindowsView(programName).showGUI();
35d7ecda
JB
12 }
13 });
14 }
15}