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
1 answer

Java Applet not displaying completely in AppletViewer

I'm building a calculator applet that isn't displaying about half the code within the AppletViewer. I'm using BlueJ (as required by my teacher) and the code compiles just fine, albeit, with a noticeable lag as compared to when I first started…
0
votes
0 answers

Want to use the getheight() and getwidth() methods to determine the size of the APPLET'S screen

I am getting a trouble to - use the getHeight() and getWidth() methods to determine the size of the applet screen. Following are the shared image URL's of my code. CheckBoard.java ChessBoar.html It would be very great if some one can help.
user5543634
0
votes
0 answers

403 Error with Java Applet viewer in Websphere

My application is using java appletviewer to view the images. But i am getting the below error and found it in Java console log. Java Plug-in 1.6.0_27 Using JRE version 1.6.0_27-b07 Java HotSpot(TM) Client VM User home directory = C:\Documents and…
Naresh
  • 147
  • 4
  • 14
0
votes
1 answer

Cannot get applet parameters with JWS in windows10

I have a Java applet. I am trying to open it with Java Web Start. I have created the following JNLP file:
e13420xx
  • 718
  • 1
  • 8
  • 26
0
votes
1 answer

Applet not displaying from appletviewer

When i run the Main00App.java from appletviewer i have Start: applet not initiated. The commented html is read because i can resize the window using the width and height. import java.awt.*; import java.applet.*; /*
T4l0n
  • 595
  • 1
  • 8
  • 25
0
votes
2 answers

Can I install an old java plugin?

Is there any way to install an old version of the Java plugin in any of my browsers (IE, Firefox, Chrome or Opera)? I want to be able to test a set of applets without digitally signing them, but Oracle's crazy signing policy is making it impossible.…
user1636349
  • 458
  • 1
  • 4
  • 21
0
votes
0 answers

Oracle JDBC security.AccessControlException

Here is what i have.. A file "TestDriver.java" in package "Driver" that connects "ojdbc6.jar" driver to java for inserting records to the database. A file "TestApplet.java" that has 2 text fields and a button "SUBMIT" that sends these 2 text field…
Raghav Sharma
  • 109
  • 1
  • 1
  • 6
0
votes
0 answers

applet's parent container not set up

I am calling an applet from a web application. And it is working fine in my machine for JRE Versions like 1.6,1.7 & 1.8.0.31. And the same is not getting in our client machine. While running it shows the below exception. Any idea to resolve the…
smdkdon
  • 11
  • 3
0
votes
1 answer

Making java applet online

this is my first time posting here and i really need some help with my assignment,Thanks. Firstly, I want to know what are the steps to access my java applet online and how do i modify my URL accordingly?. Secondly, Currently i'm on the wait for a…
0
votes
0 answers

Java Applet works in Browser but appletviewer shows wrong panel

I have a Java Applet which works perfekt in the browser! Now i want to start it with the appletviewer but this starts an other panel than in the browser!? I start it like this (the link is the same in the browser): c:\appletviewer…
cyn
  • 1
  • 1
0
votes
1 answer

Why java Applet isn't displaying on my web browser?

I made a very simple applet viewer in NetBeans. Then I made a HTML file to call that ".class" file. Both .class and HTML files are stored in the same folder. But once I run the HTML file (in my local host) in my web browser (I tried with all common…
user2989955
0
votes
0 answers

Mouse event applet is not running in appletviewer

I have written this applet abut mouse events. In cmd it gets compiled without any errors but when I run it using the appletviewer command, nothing happens. I tried different JDKs, but the problem persists. import java.awt.*; import…
0
votes
0 answers

Where to place files to make tham visible for Applet?

I have a problem with Applet. First I have to pick file with data with JFileChooser. After that JTable is created. Since I run this Applet with AppletViewer from Eclipse everything is ok. But when I try to do this when I place it in HTML file I get…
user3607625
  • 113
  • 1
  • 2
  • 10
0
votes
1 answer

Understanding the getParent method for a Java applet

I'm trying out a tutorial that uses a class which inherits from the Applet class. I'm having difficulty grasping the concept of the line which creates a frame object. I'm not sure what the 2 getParent() calls do. Does the first getParent() call…
spysmily1
  • 57
  • 8
0
votes
1 answer

Loading image dynamically from Applet

I have the following Applet code to load an image. public void init(){ str = "Hi, Welcome!"; sharedImage = getImage(getDocumentBase(), "/Users/Me/ScreenShare/testImage.png"); } public void paint (Graphics g) { g.drawString(str, 50,…
Stella
  • 1,728
  • 5
  • 41
  • 95