Re: MenuIten depreciation

What Should I be using instead of menuItem?

Seems like the MenuItem class (according to the
API
) has been moved to an inner class of the MenuBar. Just change the last bit of the import from …ui.MenuItem to …ui.MenuBar.MenuItem and you should be good to go.