Questions tagged [appletviewer]

A command used to run Java applets.

A command used to run Java applets. This command supplied with the Java JDK and could be executed from the command prompt. It's also used for the development purposes to test Java applets before they are deployed to the web server. The appletviewer runs applet without browser and even doesn't emulate the browser, instead it used a frame window and place the applet inside it and it runs like a normal Java AWT/Swing application. To run the applet from this command required to supply the argument that contains the path to the HTML file with the applet tag inside it.

112 questions
0
votes
2 answers

Getting error "bash: appletviewer: command not found".

I'm trying to learn Java and I'm having problems with the appletviewer command. I am using openSUSE 11 and am able to compile and run normal java programs but when I issue the appletviewer command I'm getting the following error "bash: appletviewer:…
Christy John
  • 680
  • 6
  • 17
0
votes
1 answer

Appletviewer not running from command prompt: java.security.AccessControlException: access denied (java.net.SocketPermission smtp.gmail.com resolve)

I have a created a simple applet which sends mail by using smtp.gmail.com on clicking a button "Send Mail". It runs perfectly from Eclipse. From eclipse I Run it as Java Applet and it sends mail without any error. But when run from the appletviewer,…
Gun
  • 61
  • 1
  • 9
-1
votes
2 answers

JApplet in Jar file can only be run from html contained in Jar file

I have a JApplet that is based off an application. I need it to read in a text based file containing all of it's data. So I stuck it in the Jar file and everything became happy in AppletViewer. Unfortunately not everything is happy in browser land.…
-1
votes
1 answer

how to write first program of applet in Netbeans with browser run?

How to write a Java Applet program in Netbeans IDE. I want to write a Java Applet program in Netbeans with run on browser. Please help me Thanks
user3315464
-1
votes
2 answers

cannot be cast to java.applet.Applet

import java.awt.*; import java.sql.*; import java.awt.event.*; public class shares { public static void main(String[] arguments){ String P[]=new String[100]; String Co[]=new String[100]; String N[]=new String[100]; String Cu[]=new…
user81883
  • 123
  • 2
  • 8
-1
votes
1 answer

How can I use SwingExplorer to navigate Applet content?

There is SwingExplorer tool from this site http://www.swingexplorer.com/ that used to navigate swing content but how do I apply it to Applet?,especially if I want to integrate it to eclipse-plugin how do I configure the running configuration? I…
user1560335
  • 79
  • 2
  • 11
-2
votes
2 answers

Applet cannot display in html in IE

I used appletviewer to verify my code. It is right. When I use IE to display html including applet, why the IE just display the content from the html not from applet ? here is the code: Java: import java.awt.Graphics; public class…
1 2 3 4 5 6 7
8