Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading image to Applet

 
mahmoud bakar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i use jdk1.2 to compile java Applet ,Applet that deal with
image give me error alwyes..so i want to Know how can i make Applet load an image.
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mahmoud,
Here is one approach (assuming your image file is named "sample.jpg":

Hope this helps.
Let us know if you still have problems.
Stephanie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic