device.print("</td></tr><tr><td>");
device.print("</td></tr><tr><td align=\"center\" valign=\"bottom\">");
    public void writeCompound(Device device, SComponent component, int horizontal, int vertical) throws IOException {        if (horizontal == NO_ALIGN)            horizontal = RIGHT;        if (vertical == NO_ALIGN)            vertical = CENTER;        boolean order = vertical == TOP || (vertical == CENTER && horizontal == LEFT);        device.print("<table");        Utils.innerPreferredSize(device, component.getPreferredSize());        device.print(">");        if (vertical == TOP && horizontal == LEFT ||            vertical == BOTTOM && horizontal == RIGHT) {            device.print("<tr><td>");            first(device, order);            device.print("</td><td></td></tr><tr><td></td><td>");            last(device, order);            device.print("</td></tr>");        }        else if (vertical == TOP && horizontal == RIGHT ||            vertical == BOTTOM && horizontal == LEFT) {            device.print("<tr><td></td><td>");            first(device, order);            device.print("</td></tr><tr><td>");            last(device, order);            device.print("</td><td></td></tr>");        }        else if (vertical == TOP && horizontal == CENTER ||            vertical == BOTTOM && horizontal == CENTER) {            device.print("<tr><td>");            first(device, order);            device.print("</td></tr><tr><td>");            last(device, order);            device.print("</td></tr>");        }        else if (vertical == CENTER && horizontal == LEFT ||            vertical == CENTER && horizontal == RIGHT) {            device.print("<tr><td>");            first(device, order);            device.print("</td><td>");            last(device, order);            device.print("</td></tr>");        }        else {            System.out.println("WARNING");            System.out.println("horizontal = " + horizontal);            System.out.println("vertical = " + vertical);        }        device.print("</table>");    }