repositories
/
Persons_Comparator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A lib directory to the project with gson library.
[Persons_Comparator.git]
/
src
/
Main.java
diff --git
a/src/Main.java
b/src/Main.java
index 9467a7a44b4a122eeee37587cea1c8657cde6ce8..77979dae22387c4523a9cb43dc9b50e57dfc7744 100644
(file)
--- a/
src/Main.java
+++ b/
src/Main.java
@@
-3,10
+3,18
@@
public class Main {
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
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() {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
- new
HelloWorldSwing("HelloWorldSwing"
).showGUI();
+ new
MainWindowsView(programName
).showGUI();
}
});
}
}
});
}