I'm getting confused at how java works with everything being a class.
I make a class foo.java and in the main method of foo.java I make an instance of foo (a class creating itself makes no sense to me but it seems normal in java ?)
Then I make a instance of another class bar, so I now have instances of foo and bar inside the foo class but how do I access the member variables of foo with the functions in bar?
foo is the processing code and bar is the ui and needs to see all the data in foo so it can display it.