d.append( "1%\">" );
d.append( "0\">" );
    protected void writeScrollBar( Device d, SScrollBar sb )    	throws IOException     {         int p = (int) ( ( 100.0f - 2.0f ) / ( float) SCROLLBAR_STEPS );         int s = (int) ( (float) ( 100.0f - SCROLLBAR_STEPS * p ) / 2.0f );                 String el_pre;         String el_post;         String el_s;         String fwalign;         String bwalign;         String dummyIconAdr = null;                  ExternalizeManager ext = sb.getExternalizeManager();         if (ext != null &&  transIcon != null) {             try {                 dummyIconAdr = ext.externalize(transIcon);             }             catch (java.io.IOException e) {                 System.err.println(e.getMessage());                 e.printStackTrace(System.err);             }         }                  if ( sb.getOrientation() == SConstants.HORIZONTAL ) {             el_pre    = "";             el_post   = "";             el_s = " width=\"";             fwalign = "valign=\"middle\" align=\"right\"";             bwalign = "valign=\"middle\" align=\"left\"";         }         else {             el_pre    = "<tr>";             el_post   = "</tr>";             el_s = " height=\"";             fwalign = "align=\"center\" valign=\"bottom\"";             bwalign = "align=\"center\" valign=\"top\"";         }                  // bw         d.append( "<td bgcolor=").append( BUTTON_BACKGROUND );         d.append( bwalign );         d.append( el_s );         d.append( "1%\">" );         sb.getComponentAt(0).write( d );         d.append( "</td>" );         d.append( el_post );                  writeSBBackground( d, sb, dummyIconAdr, el_pre, el_post, el_s + p );                  // fw         d.append( el_pre );         d.append( "<td bgcolor=").append( BUTTON_BACKGROUND );         d.append( fwalign );         d.append( el_s );         d.append( "1%\">" );         sb.getComponentAt(1).write( d );         d.append( "</td>" );     }