Java applets flicker in browser, is it just me?!

Hello everyone!

Ive noticed with applets i have written, or applets on other people sites, that they flicker when scrolling up or down the page. Does everyone else experience this or is it just me / my set up? Does anyone know a fix for this? I imagine it’s because everytime the page is scrolled (so the viewport changes) that a repaint() or refresh call or some equivilent is performed upon any containing applets to be able to keep the view up to date, and if a anim loop is running this could take a normally 60fps app to a much higher amount which it cannot cope with. Would i be completly wrong in assuming this?

For an example have a look at the alcamy game from popcap which is one of the few they have on the site which is java based http://www.popcap.com/games/free/alchemy?mid=alchemy_pcweb_en_full

any insights on this would be great!

I’ve noticed the same thing. I’m guessing it has to do with the way the browser interacts with Java (and vice versa). If anyone knows a solution, I’m all ears as well!

I dont know why either but have noticed this too. Have noticed it happens in Java2D and Pulpcore applets (Edit: using Firefox) but it doesnt in GTGE applets. Dont know why tbh. Dont really see it as a problem though as the user normally would only scroll once till applet is centered in browser. Am sure someone on here will know!!

i feel a bit stupid now, and this has happened in the past, becuase i moan about this issue and check out some applets using firefox (which is what i usually use and therefore where i notice this proplem) and also safari, and they are all completly fine, no flickering whatsoever. I think it happens about 90% of the time, but occasionally, magically, they are fine and dont look like a cheap piece of rubbish. What is this, could is just be how much load my own comp is under?? ???