Update navigationJPanel.java

Buttons are working but im not sure how to communicate between the panels the way this is setup