I searched many places trying to find information or examples of how to incorporate a JMenuBar
in mvc architecture. And I fail to understand how to do this.
The idea is that each menu item
has its own associated panel
. These panels
are inserted in the main frame
depending on the selection menu.
In this context, the best way to approach this is to have a great driver for all views
or a sub-controller
for each view
?
And if this was not the most appropriate. MVC is the best architecture to do this or is there another more appropriate architecture?