351352353354355356357358359
menuitem.setVisible(visible); final XulComponent parent = getParent(); if (parent instanceof AbstractXulComponent) { final AbstractXulComponent parentComp = (AbstractXulComponent) parent; parentComp.layout(); } }