public static void main(String args[]) { String[] instructions = { "You must have a printer available to perform this test", "This test uses rendering operations which force the implementation", "to print the page as a raster", "You should see two square images, the 1st containing overlapping", "composited squares, the lower image shows a gradient paint.", "The printed output should match the on-screen display, although", "only colour printers will be able to accurately reproduce the", "subtle color changes." }; Sysout.createDialog(); Sysout.printInstructions(instructions); RasterTest f = new RasterTest(); f.show(); }