By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,506 Members | 1,891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,506 IT Pros & Developers. It's quick & easy.

getting worked: Java Applet

P: n/a
Don
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>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">

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

</body>
</html>

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Tue, 28 Sep 2004 11:59:57 +0200, Don wrote:
I try to get a simple applet working,
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#cljh>

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


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

<APPLET code="JavaCam.class" width=320 height=240
codebase=http://developers.webcamworld.com/>
<PARAM name="url"
value="http://developers.webcamworld.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
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.