• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 quick questions

 
matt eggbeers
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have 2 quick questions about applets:
1.) I have an applet with a pretty elaborate UI, and it is bigger that the screen most of the time, so it the user must scroll down while using it. When the user scolls the browser down, the applet �flickers� and sometimes does not get drawn correctly again. What can I do to stop or correct this?

2.) The applet loads great in Mozilla and IE when I force IE to use the JVM 1.4, but not with the default JVM in IE. However, applets like yahoo games and others that I have found on the internet work well too. Do I need to use the object tag or something?

Thanks,
Matt
 
tito bayuadji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2.) The applet loads great in Mozilla and IE when I force IE to use the JVM 1.4, but not with the default JVM in IE. However, applets like yahoo games and others that I have found on the internet work well too. Do I need to use the object tag or something?


perhaps games at yahoo is writen using jvm 1.1 so it's work well with default jvam in ie.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#1) Research a technique called double-buffering, which prevents this kind of flickering. Or convert your applet from AWT to Swing, which does this automatically.

#2) To be a bit more elaborate: The default JVM in IE is Microsofts age-old JVM based on Java 1.1. It's years behind in terms of the API it supports, it's buggy, and it won't ever get updated again. You're much better off using the newer Sun JVMs, for which you use either the OBJECT or EMBED tags.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic