question: Vector showPreTagText ( String text , int align ) { Vector comps = new Vector ( ) ; if ( ( text == null ) || ( text . equals ( "" ) ) ) { return comps ; } String line = "" ; for ( int c = 0 ; c < text . length ( ) ; c ++ ) { char ch = text . charAt ( c ) ; if ( ( ch == 10 ) || ( ch == 13 ) ) { if ( ! line . equals ( "" ) ) { comps . addElement ( addString ( line , align ) ) ; newLine ( align ) ; line = "" ; } } else { line += ch ; } } if ( ! line . equals ( "" ) ) { comps . addElement ( addString ( line , align ) ) ; newLine ( align ) ; } return comps ; }
target:  Shows a text that has been marked with the html PRE tag which means the text will be displayed as is  without truncation of white spaces and new lines when reaching the end of the screen.