HTML and Applet origin not the same

Discussion in 'Java' started by annie, Feb 23, 2004.

  1. annie

    annie Guest

    Hi

    I'm using a java applet (TraceViewerApplet) to draw an image on a web
    page. The problem is that the origin java draws from is 5 pixels
    below where the image is loaded on the web page. I can display the
    whole image by making the HTML image size 5 pixels more than the
    applet draws but does anyone know how the origins could have become
    different and/or what I could look for to find the source of the
    error?

    Many thanks.
    annie, Feb 23, 2004
    #1
    1. Advertising

  2. annie wrote:
    ....
    > I'm using a java applet (TraceViewerApplet) to draw an image on a web
    > page.


    I cannot see the problem with
    your web page..

    What I can see, validates well,
    has the correct applet tag and
    parameters, and should work fine.
    ...From what I see. ;-)

    --
    Andrew Thompson
    * http://www.PhySci.org/ Open-source software suite
    * http://www.PhySci.org/codes/ Web & IT Help
    * http://www.1point1C.org/ Science & Technology
    Andrew Thompson, Feb 23, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris
    Replies:
    0
    Views:
    134
    Chris
    Jul 18, 2003
  2. Randy Webb

    HTTPRequest and Same Origin Policy

    Randy Webb, Feb 20, 2004, in forum: Javascript
    Replies:
    2
    Views:
    115
    Randy Webb
    Feb 20, 2004
  3. Turko

    Same origin policy in IE !

    Turko, May 21, 2006, in forum: Javascript
    Replies:
    4
    Views:
    870
    Turko
    May 21, 2006
  4. Replies:
    4
    Views:
    73
  5. Jeremy J Starcher

    Same Origin Policy -- clarifications?

    Jeremy J Starcher, Apr 28, 2008, in forum: Javascript
    Replies:
    2
    Views:
    111
    Jeremy J Starcher
    Apr 30, 2008
Loading...

Share This Page