Create class with JMenuBar: MyMenu.