void releaseParent() {
   super.releaseParent();
   if (menu != null) menu.dispose();
   menu = null;
 }