C
Cyron
Hello,
I've developed a simple Java Applet using Eclipse -- it works just
fine from within Eclipse, but I can't get it to render from within a
web browser. I have copied the following files into a folder:
index.html // the webpage i'm trying to view the applet from
CheckIt.class // the applet file produced by Eclipse
java.policy.applet // another file that came with the .class file.
The contents of my index.html:
<html>
<body>
<APPLET CODE="CheckIt.class" WIDTH=900 HEIGHT=900 />
</body>
</html>
When I launch index.html (this is all done locally), the page appears
as if the Applet wants to load, but nothing happens -- I'm just left
with a gray region according to the width and height dimensions I
specify in index.html
The web browser will successfully load other applets from the web, so
I know that it is configured properly -- for some reason it doesn't
like mine (which is magnitudes simpler than the ones I view on the
web). Any clues as to what is wrong?
Thanks,
Mike
I've developed a simple Java Applet using Eclipse -- it works just
fine from within Eclipse, but I can't get it to render from within a
web browser. I have copied the following files into a folder:
index.html // the webpage i'm trying to view the applet from
CheckIt.class // the applet file produced by Eclipse
java.policy.applet // another file that came with the .class file.
The contents of my index.html:
<html>
<body>
<APPLET CODE="CheckIt.class" WIDTH=900 HEIGHT=900 />
</body>
</html>
When I launch index.html (this is all done locally), the page appears
as if the Applet wants to load, but nothing happens -- I'm just left
with a gray region according to the width and height dimensions I
specify in index.html
The web browser will successfully load other applets from the web, so
I know that it is configured properly -- for some reason it doesn't
like mine (which is magnitudes simpler than the ones I view on the
web). Any clues as to what is wrong?
Thanks,
Mike