• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with applet repaint

 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have several applets in my HTML page, but they are not all visible at the same time. When I scroll inside my browser to get to the desired applet, sometimes an applet looks like it was "broken" until I click on them. I tried to solve the problem with something like this:

public void start() {
repaint();
}

but that doesn't help at all.

Is there any way I can make my applets look correctly no matter if I scroll down/up the contents of my HTML page?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps you make some errors in your code.you can not use the repaint method
in the start() method?
[ March 24, 2005: Message edited by: liu shuai ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic