File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Applets in Forte Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Applets in Forte" Watch "Applets in Forte" New topic

Applets in Forte

Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
I was trying to help a student taking a class tonight and realized how much I've forgotten about applets. He managed to get the applet to execute in his IDE, but I could not get it to execute on my PC any of the 3 ways I tried. Now I'm determined to figure it out!
I know Forte has been replaced, but I'm still running it and wondering what else I must do besides set the execution type and debug type to Applet Debugging and Applet Execution to execute an applet from within the IDE.
I also thought I'd just call the applet from a browser with the URL of the html file, but I can't seem to find an example of the syntax of the file command in the URL. Don't do this often so it's always an issue just finding the information.
Using the appletviewer command gives me the following output:
G:\javaFiles\JackieSmalley>appletviewer SApplet.html
[no file found!]
security properties not found. using defaults.
MimeTable.load: file = g:\j2sdk1.4.0\lib\, g:\j2sdk1.4.0\lib\cont g:\j2sdk1.4.0\lib\
at Code)
at sun.applet.AppletViewer.parse(Compiled Code)
at sun.applet.AppletViewer.parse(
at sun.applet.AppletViewer.main(Compiled Code)
Warning: No Applets were started. Make sure the input contains an <applet> tag.
usage: appletviewer [-debug] [-J<javaflag>] [-encoding <character encoding type> ] url|file ...
Here is the html file I created:
<applet code = "SApplet.html" width = "300" height = "45">
Any ideas will be most appreciated.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

That's really more of a question for IDEs and Other Tools. I'll move it over there.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Applets in Forte
It's not a secret anymore!