diff --git a/README.md b/README.md
index ebbf8ee..93b6db0 100644
--- a/README.md
+++ b/README.md
@@ -33,4 +33,5 @@ Probably tastes better than any Apple editor and NetBeans combined.
- [james-d/SimpleMVP](https://github.com/james-d/SimpleMVP/tree/master/src/examples/mvp) -> Demonstration of JavaFX Model/View/Controller application
- [FXMisc/RichTextFX](https://github.com/FXMisc/RichTextFX) -> Library for handling rich text and line numbers
- [richtextfx-demos](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/README.md) -> Examples and demos of how to use RichTextFX, including [Java Keywords Demo](https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/JavaKeywordsAsyncDemo.java)
-- [Pixabay/311788](https://pixabay.com/vectors/bananas-fruits-pair-yellow-bananas-311788/) -> Banana logo
\ No newline at end of file
+- [Pixabay/311788](https://pixabay.com/vectors/bananas-fruits-pair-yellow-bananas-311788/) -> Banana logo
+- [Guava Event Bus](https://github.com/google/guava/wiki/EventBusExplained) -> Library for handling communication between controllers
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 4d213e1..342d0cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,14 @@
0.10.5
+
+
+ org.sonatype.nexus
+ google-guava-eventbus
+ 3.2.0-01
+
+
+
org.junit.jupiter
diff --git a/src/main/java/app/Main.java b/src/main/java/app/Main.java
index a7fe053..2ea0f76 100644
--- a/src/main/java/app/Main.java
+++ b/src/main/java/app/Main.java
@@ -1,6 +1,9 @@
package app;
import java.io.IOException;
+
+import com.google.common.eventbus.EventBus;
+
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
@@ -10,6 +13,8 @@ import javafx.stage.Stage;
public class Main extends Application {
+ EventBus eventBus;
+
/**
* Boilerplate function to launch the application
*/
@@ -40,4 +45,8 @@ public class Main extends Application {
window.setScene(scene);
window.show();
}
+
+ public EventBus getEventBus() {
+ return this.eventBus;
+ }
}