if (east != null)
if (east != null) {
    private void writePaging(Device d, SScrollPaneLayout layout) throws IOException {        SContainer container = layout.getContainer();        Map components = layout.getComponents();        SComponent north = (SComponent) components.get(SScrollPaneLayout.NORTH);        SComponent east = (SComponent) components.get(SScrollPaneLayout.EAST);        SComponent center = (SComponent) components.get(SScrollPaneLayout.VIEWPORT);        SComponent west = (SComponent) components.get(SScrollPaneLayout.WEST);        SComponent south = (SComponent) components.get(SScrollPaneLayout.SOUTH);        d.print("\n<table class=\"SScrollPaneLayout\"");        Utils.printCSSInlinePreferredSize(d, container.getPreferredSize());        d.print("><tbody>");        if (north != null) {            d.print("<tr height=\"0%\">");            if (west != null)                d.print("<td width=\"0%\"></td>");            d.print("<td width=\"100%\">");            writeComponent(d, north);            d.print("</td>");            if (east != null)                d.print("<td width=\"0%\"></td>");            d.print("</tr>\n");        }        d.print("<tr height=\"100%\">");        if (west != null) {            d.print("<td width=\"0%\">");            writeComponent(d, west);            d.print("</td>");        }        if (center != null) {            d.print("<td width=\"100%\">");            writeComponent(d, center);            d.print("</td>");        }        if (east != null) {            d.print("<td width=\"0%\">");            writeComponent(d, east);            d.print("</td>");        }        d.print("</tr>\n");        if (south != null) {            d.print("<tr height=\"0%\">");            if (west != null)                d.print("<td width=\"0%\"></td>");            d.print("<td width=\"100%\">");            writeComponent(d, south);            d.print("</td>");            if (east != null)                d.print("<td width=\"0%\"></td>");            d.print("</tr>\n");        }        d.print("</tbody></table>\n");    }