question: protected void toolBarInit ( ) { previousButton = new JButton ( "Previous Page" ) ; previewToolBar . add ( previousButton ) ; previousButton . addActionListener ( null ) ; nextButton = new JButton ( "Next Page" ) ; previewToolBar . add ( nextButton ) ; nextButton . addActionListener ( null ) ; previewToolBar . add ( new JLabel ( "    Page " ) ) ; previewToolBar . add ( pageCount ) ; previewToolBar . add ( new JLabel ( " of " ) ) ; previewToolBar . add ( totalPages ) ; closeButton = new JButton ( " Close " ) ; previewToolBar . add ( closeButton ) ; closeButton . addActionListener ( null ) ; }
target:  Creates a print preview toolbar added by Dennis Miller