getting worked: Java Applet

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Don

    getting worked: Java Applet

    Hi,

    I try to get a simple applet working, the class-file does load, but the
    image doesn't appear;( An error doesn't appear. The view is and stays
    'grey'

    What I want: Automatic refresh of a webcam image

    Filename is the same. File is located in same directory as applet.


    Hope there's someone who can and wants to help me.

    Don

    <html>
    <head>
    <title>Untitl ed Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFF F" text="#000000">

    <p>
    <APPLET code="JavaCam.c lass" codebase="/location/java/"
    width="320" height="240">
    <PARAM name="url" value="/location/java/camera.jpg">
    <PARAM name="interval" value="20"></APPLET>
    </p>

    </body>
    </html>

  • Andrew Thompson

    #2
    Re: getting worked: Java Applet

    On Tue, 28 Sep 2004 11:59:57 +0200, Don wrote:
    [color=blue]
    > I try to get a simple applet working,[/color]

    You have the wrong group..
    <http://www.physci.org/codes/javafaq.jsp#js>

    The best one for these kind of (Java) problems is..
    <http://www.physci.org/codes/javafaq.jsp#clj h>

    Before you go there though (DO NOT REPLY TO THIS)
    you might try..
    [color=blue]
    > <APPLET code="JavaCam.c lass" codebase="/location/java/"
    > width="320" height="240">
    > <PARAM name="url" value="/location/java/camera.jpg">
    > <PARAM name="interval" value="20"></APPLET>[/color]

    The example at ..
    <http://developers.webc amworld.com/template3_cd.ht ml>
    ...specifies the codebase and source of the image as complete URL's..

    <APPLET code="JavaCam.c lass" width=320 height=240
    codebase=http://developers.webc amworld.com/>
    <PARAM name="url"
    value="http://developers.webc amworld.com/images/tempimage.gif">
    <PARAM name="interval" value="30">
    </APPLET>

    Try that.

    HTH

    --
    Andrew Thompson
    http://www.PhySci.org/codes/ Web & IT Help
    http://www.PhySci.org/ Open-source software suite
    http://www.1point1C.org/ Science & Technology
    http://www.lensescapes.com/ Images that escape the mundane

    Comment

    Working...