Hello,
I have an application using MVC. The main frame has a couple of buttons on it. When clicked, an anonymus inner class forwards it to the controller it has a reference to to implement the behavior. But now I would like another frame to pop up when a button is clicked on the main frame. This frame also has a controller. Does this mean the controller class for the main frame has class scope variables for yet another frame and controller? It seems a bit odd to me...
I have an application using MVC. The main frame has a couple of buttons on it. When clicked, an anonymus inner class forwards it to the controller it has a reference to to implement the behavior. But now I would like another frame to pop up when a button is clicked on the main frame. This frame also has a controller. Does this mean the controller class for the main frame has class scope variables for yet another frame and controller? It seems a bit odd to me...