101102103104105106107108109110111
PrintPreview pp = (PrintPreview) o; pp.setVisible(true); } } }; worker.start(); } /** Called for the Print button in the preview window */ public void actionPerformed(ActionEvent ae) { try {
348349350351352353354355356357358
return null; } } } }; worker.start(); } else if (w == stopButton) { if (stream != null) { stream.interrupt(); stream = null; } else {