--- old/src/share/classes/sun/awt/AWTAccessor.java 2014-07-10 11:11:38.000000000 +0400 +++ new/src/share/classes/sun/awt/AWTAccessor.java 2014-07-10 11:11:38.000000000 +0400 @@ -481,11 +481,16 @@ void setAppContext(MenuComponent menuComp, AppContext appContext); /** - * Returns the menu container of the menu component + * Returns the menu container of the menu component. */ MenuContainer getParent(MenuComponent menuComp); /** + * Sets the menu container of the menu component. + */ + void setParent(MenuComponent menuComp, MenuContainer menuContainer); + + /** * Gets the font used for this menu component. */ Font getFont_NoClientCode(MenuComponent menuComp);