put menuBar to MyMenu class