inner class Mouse listener not working in MVC model
I'm using the Model View Controller design for a current project.
There is a grid (2D array) of JButtons that need a mouse listener adding to them, however when I have the mouse listener inside the controller it doesnt work (using a method called from the controller constructor that is in the view to add the listener to the grid).
Its the same way that I have added action listeners so I'm wondering if mouse listener's need to be added when the view is created.
If so how do you do that in the MVC design?