private void addMenu( XAppender menuBar, XmlElement childNode,
String basePackageName, XStyle menuStyle,
Color menuBkColor, Color menuTextColor,
Font menuFont ) throws ClassNotFoundException, InstantiationException, IllegalAccessException
{
XAppender menu = null;
if ( adapter.requiresParent()) {
Object[] args = new Object[ 1 ];
args[ 0 ] = menuBar;
menu = (XAppender)ReflectionHelper.constructViaReflection( basePackageName + XPage.MENU, args );
}