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