writeComponent(d, center);
center.write(d);
    public void write(Device d, SLayoutManager l)            throws IOException {        SBorderLayout layout = (SBorderLayout) l;        SComponent north = (SComponent) layout.getComponents().get(SBorderLayout.NORTH);        SComponent east = (SComponent) layout.getComponents().get(SBorderLayout.EAST);        SComponent center = (SComponent) layout.getComponents().get(SBorderLayout.CENTER);        SComponent west = (SComponent) layout.getComponents().get(SBorderLayout.WEST);        SComponent south = (SComponent) layout.getComponents().get(SBorderLayout.SOUTH);        int cols = 0;        if (west != null) cols++;        if (center != null) cols++;        if (east != null) cols++;        d.print("\n<table class=\"SBorderLayout\" cellpadding=\"0\" cellspacing=\"0\"><tbody>");        if (north != null) {            d.print("\n<tr style=\"height: 0%\"><td colspan=\"").print(cols).print("\">");            writeComponent(d, north);            d.print("</td></tr>");        }        d.print("\n<tr style=\"height: 100%\">");        if (west != null) {            d.print("<td style=\"width: 0%\">");            writeComponent(d, west);            d.print("</td>");        }        if (center != null) {            d.print("<td style=\"width: 100%\">");            writeComponent(d, center);            d.print("</td>");        }        if (east != null) {            d.print("<td style=\"width: 0%\">");            writeComponent(d, east);            d.print("</td>");        }        d.print("</tr>\n");        if (south != null) {            d.print("\n<tr style=\"height: 0%\"><td colspan=\"").print(cols).print("\">");            writeComponent(d, south);            d.print("</td></tr>");        }        d.print("\n</tbody></table>");    }