I have the following method in the Controller class:
public void popup() {
popupPane.setVisible(true);
}
If I call this method from ANOTHER class then I get a null error, I assume because I'm creating a new Controller instance that doesn't have my pane, or a new popup instance that doesn't have my controller. Anyways, is there any way to do this? I'm starting to think it's not a technical possibility within Java.
TLDR: Make a pane visible using a class outside Controller - possible?