• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Slideshow that i created giving me problems!

Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below is the code to start slideshow as soon as i start the html page but it's giving output as i expected. The function that's giving me problems is the checkID(int id) of MediaTracker class.
If i use the alternative version of checkID(int id,boolean load) it seems to work fine. But why? that i dont know. Please help me.

Posts: 43016
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither the getImage method call, nor the checkID(int) method call cause the image to be loaded, while checkID(int, true) *does* cause it to be loaded. This is explained in the javadocs of the various getImage and checkID methods.
Squanch that. And squanch this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic