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

How to acquire Image instance in a class extending Canvas / Panel

 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Need your help !! How will you acquire an Image instance in a class extending Canvas and Panel respectively ??
Like a class extending Applet will acquire the Image instance using getImage(URL u,String filename) method.

Regards,
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question has been answered here:
http://www.javaranch.com/ubb/Forum2/HTML/001076.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic