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
30
votes
10 answers

Can't read AppletViewer properties file - Applet

I created a Java applet program and compiled it. As a result of the compilation, it generated a class file. But, it showed the following warning message while running the applet with the command prompt using the appletviewer command. …
whiterose
  • 4,391
  • 8
  • 24
  • 18
7
votes
2 answers

Why does each JDK come with 3 JREs?

I've noticed that within the C:\Program Files\Java folder, there's the public JRE which the JDK installed, I know this is normal. But then there's the folder jdk1.x\jre\bin\ with java.exe, javaw etc in it. And then there's the compiler folder…
Alex
  • 3,111
  • 6
  • 27
  • 43
6
votes
1 answer

Failing to load class definition from jar

I ran across an issue when attempting to port an application over to JApplet so it can run on a browser. Program Contents: Jar file. Contains my CustomClassLoader implementation. Stored on website. Content directory. Filled with compiled classes.…
user1181445
5
votes
5 answers

Java applet does not display anything

Does anyone know why my Java applet does not display anything? This is my first Java applet so I am new to creating one. I researched this problem and haven't found an answer specific to the current problem. import java.applet.Applet; import…
user1933229
  • 61
  • 1
  • 1
  • 3
3
votes
2 answers

Java applet renders JLabel (and other components) with extra random letters

When I run the applet whose code is listed below, the text of the JLabel does not draw properly. There are extra garbage characters superimposed on top of the label text. If I omit the call to setFont(), I don't see any rendering problems. The…
Evan
  • 2,282
  • 2
  • 19
  • 21
3
votes
1 answer

Mac OSX - appletviewer doesn't display anything

When I run the following command on my Mavericks Mac: appletviewer index.html The appletviewer process starts, but no window shows up with the actual applet, I need use kill -s 9 on the process to get the process to terminate. I have installed and…
ardent
  • 2,453
  • 1
  • 16
  • 15
3
votes
2 answers

AppletViewer - "applet not initialized"

My code compiles and works just fine in both my browser and Eclipse, but for some reason the AppletViewer just won't work with my VERY simple code. When I try to run it with appletviewer FirstApplet.html, the AppletViewer window appears as…
Rick_Sch
  • 456
  • 3
  • 10
  • 19
2
votes
1 answer

Signed jar throwing permission exceptions with appletviewer

I'm trying to troubleshoot an issue with signed jars not working under appletviewer. My main goal is to run it outside of the browser, so I tried using appletviewer - if you have other suggestions, let me know. Here's the context: Ubuntu…
icyrock.com
  • 27,952
  • 4
  • 66
  • 85
2
votes
2 answers

java.security.AccessControlException:

This may be old error but I am stuck here. I created Java applet to access an Oracle database. I am going to put this applet in Local Network. My applet works fine in Eclipse and Netbeans but when I run through 'appletviewer' it goes at connection…
Bahirji Naik
  • 175
  • 1
  • 2
  • 16
2
votes
1 answer

Java Applet Commented Applet Tag

I am new to applets and came across something unusual. In one of the programs I went through, applet html tag is mentioned as a comment in the Applet Java file (.java) but the comment seems to be getting executed. How is this possible? Code: …
Mathews Mathai
  • 1,707
  • 13
  • 31
2
votes
0 answers

Java applet cannot be run

I am trying to run a java applet with instruction on the textbook. The code is as below.But when I run the appletviewer in cmd the appletviewer is not running. The CMD command is as below import java.awt.Graphics; import java.awt.Font; import…
lawrence
  • 151
  • 1
  • 8
2
votes
1 answer

Can i start applet via Java Web Start in Appletviewer?

In the last week I worked with Java Web Start. I can successfully start applications and applets with JWS. But for one project I have to determine how to start multiple applets via JWS, which should not open in browser but in appletviewer. My…
David Hermanns
  • 395
  • 3
  • 12
2
votes
1 answer

"Start: applet not Initialized" Applet Viewer

I've tried a number of applets out with my applet viewer and I keep getting the same response in the window, "Start: applet not Initialized". It doesn't matter how simple the program is, it compiles fine in Xcode, but it won't show up in the applet…
2
votes
1 answer

Applet not displaying anything

A simple question with a perhaps not so simple solution. My code is supposed to show a triangle on a black background that can be moved around onscreen. Only nothing displays, just a white area that can't be right-clicked on. It does not work in…
imulsion
  • 8,820
  • 20
  • 54
  • 84
2
votes
2 answers

Running Oracle Forms 11g outside browser

We have an Oracle Forms 11g application which can be started via browser. This leaves an empty browser window, since Forms opens its own window. However, if you close the empty browser window, the Forms window also get closed. I like the fact that…
ChrLipp
  • 15,526
  • 10
  • 75
  • 107
1
2 3 4 5 6 7 8