Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-20-2008, 06:59 PM
Member
 
Join Date: Nov 2008
Posts: 5
Rep Power: 0
sirdori is on a distinguished road
Default 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
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 11-20-2008, 07:04 PM
xcallmejudasx's Avatar
Senior Member
 
Join Date: Oct 2008
Location: Houston, TX & Flint, MI
Posts: 585
Rep Power: 2
xcallmejudasx is on a distinguished road
Send a message via AIM to xcallmejudasx
Default
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-20-2008, 07:14 PM
Member
 
Join Date: Nov 2008
Posts: 5
Rep Power: 0
sirdori is on a distinguished road
Default
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
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE crashes when calendar icon on JSP is clicked - only for some browsers dnyan123 JavaServer Pages (JSP) and JSTL 5 11-12-2008 10:19 AM
First Applet not running on browsers Centinela66 Java Applets 11 10-09-2008 02:58 PM
Hovering mouse over a button and painting gtraylo AWT / Swing 2 04-24-2008 10:33 AM
applets on mac what´s going on? willemjav Java Applets 6 04-19-2008 08:03 PM
Applets and dll peiceonly Java Applets 1 04-01-2007 11:16 AM


All times are GMT +2. The time now is 12:56 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org