public void write(Writer out)
         throws IOException
    {
        writeHtmlHead(out);
        
        out.write("<frameset "+border);
        
        if(colSpec!=null)
            out.write(" cols=\""+colSpec+"\"");
        if(rowSpec!=null)
            out.write(" rows=\""+rowSpec+"\"");
        out.write(">");

        for(int r=0;r<rows;r++)
            for(int c=0;c<cols;c++)
                frames[c][r].write(out);

        out.write("<noframes>");
        writeElements(out);
        out.write("</noframes>");

        out.write("</frameset>");
        out.write("</html>");
    }
public void write ( Writer out ) throws IOException { writeHtmlHead ( out ) ; out . write ( "<frameset " + border ) ; if ( colSpec != null ) out . write ( " cols=\"" + colSpec + "\"" ) ; if ( rowSpec != null ) out . write ( " rows=\"" + rowSpec + "\"" ) ; out . write ( ">" ) ; for ( int r = 0 ; r < rows ; r ++ ) for ( int c = 0 ; c < cols ; c ++ ) frames [ c ] [ r ] . write ( out ) ; out . write ( "<noframes>" ) ; writeElements ( out ) ; out . write ( "</noframes>" ) ; out . write ( "</frameset>" ) ; out . write ( "</html>" ) ; }
/* -----------------------------------------------------------------