• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

2 quick questions

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic