"...Note: If you're using an IDE and have difficulty, try this line of code instead:
Where is YOUR image stored in order that the program was able to access it
karol worek wrote:I was also reading that book. It's outdated. people now use JavaFX rather than awt and swing (which are outdated and not developed since long).
Norm Radder wrote:
I have my images in a folder (images) that is contained in the folder where I issue the java command.
K Richard wrote:Is it because its a Jpeg?, i notice you used a gif and also on the Oracle site found here:
They also use a gif in their example?
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Javahttps://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire