• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interface ImageObserver?????  RSS feed

 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could someone explain to me the usages of this interface???
thanks in advance.
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi leandro,
ImageObserver is an interface used in the asynchronous loading of Images which uses an Observer pattern to update the progress. java.awt.Component is the only implementor in AWT/SWING. If you need to wait for the loading of images in your applet or application, the normal way to do that is with a MediaTracker.
Michael Morris
 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks!! I'm gonna use MediaTracker!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!