Results 1 to 3 of 3
- 11-20-2008, 05:59 PM #1
Member
- Join Date
- Nov 2008
- Posts
- 5
- Rep Power
- 0
Applets painting outside borders in web browsers
Hello all, I have been experimenting with applets and have come across a problem. While the applet is repainting itself it will paint out side its borders when i am scrolling up and down in the page. It could be described as a smear effect and is happening in IE and firefox. having googled it i have come across a similar problem a few years ago with no resolution. any hepl would be much appreciated. Thanks
Dori:confused:
- 11-20-2008, 06:04 PM #2
I think I remember this a while back. Lets say you have an applet of size 500X500 running on a background of 1000X1000. That obviously isn't the entire screen but your saying when you scroll the browser the applet remains in place and the paintings inside come off into the 1000x1000 section? Or is the applet moving also and just leaving a trail behind it.
- 11-20-2008, 06:14 PM #3
Member
- Join Date
- Nov 2008
- Posts
- 5
- Rep Power
- 0
thanks for the reply. The applet moves with the rest of the page whilst scrolling. The way my applet is running is that after 10 seconds it takes the double buffered image and wipes it clean with a g.fillRect(...) method, and only at this point it will 'smear' as in if i scroll down within this fraction of a second it will extend the applet over an image that resides above it by up to 100px (the applet is 400x400). In IE it seems to happen at any point whilst scrolling (the applet is being repainted 20 times a second) but usually on 5px top or bottom is smeared, but sometimes more.
Thanks,
Dori
Similar Threads
-
IE crashes when calendar icon on JSP is clicked - only for some browsers
By dnyan123 in forum JavaServer Pages (JSP) and JSTLReplies: 5Last Post: 11-12-2008, 09:19 AM -
First Applet not running on browsers
By Centinela66 in forum Java AppletsReplies: 11Last Post: 10-09-2008, 01:58 PM -
Hovering mouse over a button and painting
By gtraylo in forum AWT / SwingReplies: 2Last Post: 04-24-2008, 09:33 AM -
applets on mac what´s going on?
By willemjav in forum Java AppletsReplies: 6Last Post: 04-19-2008, 07:03 PM -
Applets and dll
By peiceonly in forum Java AppletsReplies: 1Last Post: 04-01-2007, 10:16 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks