• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Applet in a browser, refresh problem when scrolling

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When displaying an applet in a browser window, if the window size is smaller than the applet size then while scrolling to view the entire applet there are many refresh problems. Sometimes the repaint does not happen properly, sometimes half the applet is missing.
What am i doing wrong or missing? Do i have to do soemthing in the start and stop methods?
thanks in advance!
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just had the same problem with my ticker applet.
Do you have an infinite loop in your applet?
if yes put it in a separate thread.
You might also cosider doing this:
public void update(Graphics g) {
and then call the
somewhere in the code. Perhaps the start() method.
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic