applet

Applet in client-server infrastructure

Hello! I have a general question concerning client-server design. We have a Java server with Spring, a GWT client program and some HTTP-servlets for our site. At the moment we also want to develop an applet which would communicate with that server in such a way GWT-client and site requests do. Is it a good idea to communicate with the...

Java Applet in JAR File

I have created a java applet (.class file) and made a .jar with it and digitally signed the .jar file. Now I need to run the .jar as an applet in firefox. What do I put in the html code to run the .jar file as an applet? I tried and it doesn't work, it tries to get a .class file, how do I load and run my applet as a .jar file using the...

how to upload a file using java applet to asp.net sites.

how to upload a file using java applet to asp.net sites. ...

load applet dependency from client side

Hi i have an applet with AllPermision , my applet has alot of dependency to jasperreport , apache commons and .... my clients have Low Bandwidth for downloding applet dependencies. in this situation i want to load jar files (dependencies) from client path. does anybody have a solution? browser ie 6 jre 1.6 update 14 ...

How to import signed applet certificate into the client machine?

How could i import the certificat into the client machine? Does any parameter in exist to do this ? How could i grant the permission to my applet on the client machine since the server Apache? How could i generate a cab-file for IE? ...

Applet problem with IPlanet and Firefox (class not found)

I have an applet which loads nicely when accessed locally (both IE and Firefox). However, when I put my webpage in a webserver (local IPlanet), it refuses to load on Firefox (but still fine on IE). I get the following error in the java console: load: class XXX.localprinting.LocalPrintingApplet.class not found. java.lang.ClassNotFoundEx...

SWT applet: swt-win32-3650.dll already loaded in another classloader

I have multiple pages with java applet written with SWT. The problem is, applet loads only on first page, to load it on another page i need restart browser, otherwise i get following error: Exception in thread "Thread-27" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-win32-3650 in java.library.path ...

Applet tag error

Hi, I'm getting a FileNotFound error when I try to include my applet. It tries to include a .class file, while I provide a .jar file. Here's the java console output: at java.lang.Thread.run(Thread.java:637) Caused by: java.io.FileNotFoundException: /Users/yvanjanssens/NetBeansProjects/yBlackJack/yBlackJackApplet.class (No such file or...

Java Applet Deployment, ClassNotFoundException (primary class)

This is driving me up the wall. I have checked and rechecked spelling and paths. I have tried just about every combination of paths, including relative, absolute, and full http paths. I continue to get the following error when trying to load a Java applet: java.lang.ClassNotFoundException: AppletClient.class at sun.plugin2.applet...

Java problem cant find image file

I am a student working on a homework project. I spent DAYS trying to get the following code to display an image on my new windows 7 laptop. I compiled it and ran it on my old xp pc and it worked! I really want to use my laptop. Any suggestions on how to get it to display the image? The java code. HTML and immage are all in the same s...

Run Java-applets directly ( without html page )

Hello guys. I have a problem. How i can run my java-applet directly without embedded in my web page? I know appletViewr can execute applet without a browser but I need to get java applet without html page. ...

visualizing enter symbol in java applet (fonts or graphics?)

How can I display the graphical "enter symbol" within java applet ? I want to show exactly "↵", which is U+21B5 DOWNWARDS ARROW WITH CORNER LEFTWARDS. – I want to draw this to applet's screen so that it works in WIN, LINUX, MACOSX, etc. Is there a font available that makes this possible or should I draw it somehow, how ? g2d.setFont...

Problem processing large data using Applet-Servlet communication

Hi everyone. I have an Applet that makes a request to a Servlet. On the servlet it's using the PrintWriter to write the response back to Applet: out.println("Field1|Field2|Field3|Field4|Field5......|Field10"); There are about 15000 records, so the out.println() gets executed about 15000 times. Problem is that when the Applet gets t...

How should a Gnome applet store its configuration data?

I have a Gnome applet written in Python. In order to save configuration data/settings, it creates a file ~/.appname. However, this prevents multiple instances of the applet from being added to the panel because each cannot have its own settings. How can I store the settings in a way that allows each instance to have its own unique sett...

Is it possible to get a list of running processes using an applet?

Hello, I'd like to get the list of running processes using a java applet running in a browser. My understanding is that, as long as the applet is signed, it will be able to get this information. Is this accurate? Is this possible with an unsigned applet? Finally, are there any FOS applets available that I could take a look at? Than...

Applet in different directory than .html page

Hello all, I'm trying to use a different directory to contain the applets and other directory with .html pages. Both are in the same level, that is, none is a sub-directory of the other. For that I was trying to use the parameter codebase, however, no matter what I put in codebase value (relative, absolute path) I always get a class no...

Is it possible to detect the load of an applet?

Hello guys, I'm working on a Safari extension, and I'd like to detect when <applet>s are going to load (the onbeforeload event) on a page. However, there seems to be no such event for these. How should I do it? Transform all <applet> tags to <object> tags and then intercept their onbeforeload events? I think it would break the document...

server-side java applet...how to create?

How would you create a server-side java applet? ...

Running Eclipse/Netbeans as an applet

Would anyone know if it's possible/easy to strip down Eclipse or Netbeans to its bare core (project tree + code window) and run it as an applet in the browser? How-to hints appreciated. PS: it's for a simple online IDE ...

Error when calling javascript method from applet

Hi, I am trying to call javascript method from an Applet using netscapte.java.JSObject. in the applet: JSObject window = JSObject.getWindow(this.Class); Object[] args = .... //arguments window.call("javascriptMethodName", args); But I get the exception at window.call: JavaScript error while calling "callFromJava" netscape.ja...