I'm trying to write a program to read an ppm (P3) file, and then display an image based of what the file contains. It should ask the user for a file, read the file and then render the pixels to the graphics pane. So far I have been able to ask for and read the file. However I cannot get it to display the image. I can get it to print out the contents of the file (it prints out the numbers). Any help will be appreciated.