void showPage ( ) { String editorText = getDocumentProvider ( ) . getDocument ( textEditor . getEditorInput ( ) ) . get ( ) ; deletePreviewFiles ( ) ; File file = toPreviewFile ( editorText ) ; if ( file != null ) { PREVIEW_FILES_LIST . add ( file ) ; String s = "file://" + file . getAbsolutePath ( ) ; //$NON-NLS-1$ browser . setJavascriptEnabled ( true ) ; browser . setUrl ( s ) ; } else { browser . setText ( editorText , true ) ; } }
Sorts the words in page 0 and shows them in page 2 .