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
0 answers

Applet not initialized in applet viewer

I need to write an applet for a computer science course. I need to have five song titles scroll on to the screen from the top and off the right side, one at a time on a loop. I wrote my code and it compiles but when I try to run it in the…
0
votes
1 answer

Call an applet through a JSP site

I have create a simple Hello World Applet and I have save the .class file to the server where the JSP site is. I want help so what I have to write in the JSP Site so whenever through the Browser I open this specific JSP Site this applet also run…
JavaMunich
  • 85
  • 10
0
votes
7 answers

show warning if users enter letter instead number in java applet

I am writing an tip calculator app in java applet with GUI, my question is how I make sure the error message will pop up if users enter letter instead of number it is my first time asking question, please be easy on me! Thanks!!! import…
JakeVo
  • 13
  • 1
  • 2
0
votes
1 answer

panels do not show in applet viewer, yet there are no errors

I have written this simple JApplet (yes I am a beginner). It has 4 buttons on the left and the a cardLayout in center. each button on the left should open a different panel in center. my program compiles with no errors (using Drjava and Eclipse).but…
AshkanMil
  • 37
  • 4
0
votes
3 answers

Java appletviewer

I wrote a simply Hello World java applet and called it HelloApplet.java. I created an html file for it called HelloApplet.html. Both files along with the compiled HelloApplet.class file all reside on my Windows 7 computer's C:\temp directory. The…
0
votes
0 answers

mxGraphComponent in Applet

When i use mxGraphComponent in an applet, this applet run in appletviewer in eclipse but it don't run in any browser because it throws an ExceptionInInitializerError Exception. Searching on the internet I have seen that mxGraphComponent should be…
RedVelvet
  • 1,683
  • 3
  • 15
  • 24
0
votes
2 answers

Adding two integer values by passing parameters through an applet

The following java program gets compiled successfully but when I try to run it using appletviewer, I get the following (in command prompt) with a message "applet not initialized" in the applet window. import java.applet.*; import…
Salman
  • 109
  • 2
  • 4
  • 10
0
votes
1 answer

Applet Does Not Display Image From URL in Tomcat

An applet I made loads images from a URL. When I run this applet inside Eclipse using AppletViewer it displays the images. However when I run the applet in a browser after deploying it in Tomcat 7, the image does not display, only the grey…
user13316
  • 35
  • 4
0
votes
1 answer

Applet security permission

Source code: package com.web; import com.web.Operation; import java.applet.*; import java.awt.Graphics; import java.net.MalformedURLException; import java.net.URL; import java.util.*; import java.io.*; public class AppletExample extends Applet…
vicesbur
  • 335
  • 2
  • 5
  • 13
0
votes
1 answer

C++ Linking Various Resource Files Into One Executable

I created a tiny c++ program that launches an appletviewer which presents my Java Applet. I have compiled my main.cpp file to a main.o file and now I would like to create a single .exe file by linking the main.o file with my applet.class file. How…
Nigh7Sh4de
  • 395
  • 2
  • 7
  • 20
0
votes
2 answers

dicom applet viewer

I am looking for an opensource appletviewer.Idea is using Java webstart i want to download the appletviewer (with the help of JNLP config) along with the specific dicom file [dynamic content w.r.t user/patient] in my webapplication,so that end users…
Satya
  • 19
  • 3
0
votes
1 answer

When resizing the appletviewer window the canvas size does not change

For my CS11 class, I have to write a small applet that draws a horizontal and vertical line on the screen that intersect in the middle of the canvas. One part of the assignment is to be able to move one or both lines when the user clicks on a line…
user1114264
0
votes
1 answer

Appletviewer in BlueJ Does Not Start

So I run an applet as usual when in the bottom left corner where it says "Executing applet in appletviewer" stays there and appletviewer never opens up. When I right click on the class, "Run Applet" is in red, if that's important at all. I've…
0
votes
1 answer

netbeans strikeiron web server connection reset

Introduction: I’m attempting create a real time web application (java - maven over NetBeans) from original SCADA application and use the NetBeans strikeiron GlobalSMSPro service as an gadget to obtain a asynchronous connection while infinitely poll…
0
votes
1 answer

appletviewer run ok browser not

appletviewer show correctly if within a class in jar file there is the following expression: File objectFile = new File("configurationfile.dat"); Running with a browser there is an error. I changed to File objectFile = new…
Juanjo Conti
  • 28,823
  • 42
  • 111
  • 133