public Frame nameFrame ( String name , int col , int row ) { if ( frameMap == null ) { frameMap = new Hashtable ( 10 ) ; frameNames = new Vector ( 10 ) ; } Frame frame = frames [ col ] [ row ] ; if ( frame == null ) frame = frames [ col ] [ row ] = new Frame ( ) ; if ( frameMap . get ( name ) == null ) frameNames . addElement ( name ) ; frameMap . put ( name , frame ) ; frame . name ( name ) ; return frame ; }
Name a frame . By convention frame names match Page section names