• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic