device.write(__onMouseOver_Me); device.write(__onMouseOut_Men);
device.print(" onMouseOver=\"Menu.prototype.setMouseOverStyle(this)\""); device.print(" onMouseOut=\"Menu.prototype.setMouseOutStyle(this)\"");
    public void writeContent(final Device device,                             final SComponent _c)            throws IOException {        final SMenuBar component = (SMenuBar) _c;//--- code from write-template.        SMenuBar mbar = (SMenuBar) component;        int mcount = mbar.getComponentCount();        device.write(__table_class_me);        org.wings.plaf.Utils.optAttribute(device, "class", component.getStyle());        device.write(__);        device.write(__tr_align_left);        /***         * Due to the current Opera problems we are switching to the older Menue style         * in all other cases we do a normal job         ***/        boolean rightAligned = false;        for (int i = 0; i < mcount; i++) {            if (mbar.getComponent(i).isVisible()) {                if (mbar.getComponent(i).getHorizontalAlignment() == SConstants.RIGHT_ALIGN &&                        !rightAligned) {                    device.write(__td_width_100_t);                    rightAligned = true;                }                device.write(__td_id);                org.wings.plaf.Utils.write(device, mbar.getComponent(i).getName() + "_hook");                device.write(__class_menu);                if (mbar.getComponent(i).isEnabled() &&                        mbar.getComponent(i) instanceof SMenuItem) {                    device.write(__onMouseOver_Me);                    device.write(__onMouseOut_Men);                }                device.write(__);                mbar.getComponent(i).write(device);                device.write(__nobr_td);            }        }        if (!rightAligned) {            device.write(__td_width_100_n);        }        device.write(__tr_table);        device.write(___1);//--- end code from write-template.    }