Results 1 to 3 of 3
  1. #1
    sirdori is offline Member
    Join Date
    Nov 2008
    Rep Power

    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


  2. #2
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Houston, TX & Flint, MI
    Rep Power


    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.

  3. #3
    sirdori is offline Member
    Join Date
    Nov 2008
    Rep Power


    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.



Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts