I'm using this tutorial to build an application using the MVC architecture : http://www.oracle.com/technetwork/articles/javase/index-142890.html. But I'm not sure how or where should I put the code to build and add actionListener of a JMenuBar inside of it.
Furthermore, the book Object-Oriented Design & Patterns by Cay Horstmann say "The controller may process mouse and keyboard events from the windowing system, or it may contain user interface elements such as buttons and menus." Should I follow this advice, if yes, how should I implement it ? How to add it to the JFrame that is in my Main class ?