projects
/
jkeytool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Interface.setCore(Core) method to set the core that is controlled by the interface.
[jkeytool.git]
/
src
/
net
/
pterodactylus
/
jkeytool
/
main
/
Main.java
diff --git
a/src/net/pterodactylus/jkeytool/main/Main.java
b/src/net/pterodactylus/jkeytool/main/Main.java
index
9f4b477
..
26a9496
100644
(file)
--- a/
src/net/pterodactylus/jkeytool/main/Main.java
+++ b/
src/net/pterodactylus/jkeytool/main/Main.java
@@
-56,6
+56,7
@@
public class Main {
public static void main(String[] arguments) {
Core core = new Core();
Interface gui = getInterface();
public static void main(String[] arguments) {
Core core = new Core();
Interface gui = getInterface();
+ gui.setCore(core);
core.addCoreListener(gui);
gui.start();
}
core.addCoreListener(gui);
gui.start();
}