• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with applet repaint

 
Velika Srbija
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • 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?
 
liu shuai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic