howToSaveAPicture-notVISTA

howToSaveAPicture-notVISTA - Change msmith209 to your prism...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Mac and non-Vista Windows Users: I'm assuming you have been running your program using the driver and it already works. (And that the driver does return at the end.) Load your program. In the bottom window of JES (the interactive window): setMediaPath() select your desktop p = driver() p now refers to your resultant picture writePictureTo(p, "msmith209.jpg") this now saves your result to your desktop.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Change msmith209 to your prism username. Once the file is saved to your desktop, you can double click on it to make sure it is the new picture you want to turn in. It should be the same as the one your driver displayed for you when repaint ran. If you have trouble with this, let Monica and the TAs know!- Monica...
View Full Document

Ask a homework question - tutors are online