public class PictureDemo { public static void main( String[] args) { Picture p = new Picture( FileChooser.pickAFile() ); Pixel [] pixelArray = p.getPixels(); for( Pixel x : pixelArray) { x.setGreen(255); } // end for p.show( ) ; // More fun code.... try { Thread.sleep(5000); } catch ( Exception e) { System.out.println("oh no!"); } for( Pixel x : pixelArray) { x.setGreen(0); } p.hide(); p.show(); /* bigger comment * on multiple lines */ } // end public static void main() } // end class Demo