applet

USB Scanner with Flex / Java applet?

Is there a way to get an image from a usb scanner (on Windows primarily, cross-platform solution would be best) and post the image together to a form in browser with Flex or Java applet? thx! ...

how can you make sure that your applet isn't being used outside a specific page url?

I have a java applet, I want to make sure that nobody use it outside a specific url. How can I achieve that? The applet connects to a Java server for data exchange. I want to check on the server side the page url that contains the applet. Is that possible? ...

Applet could not be displayed

Dear all, I just found a very strange question. I am using the Spring DM Server + spring MVC. In a jsp page , I just insert an applet, but always, this applet could not displayed, no matter where I put on the folder, still the same problem. the following exception: java.lang.ClassNotFoundException: Drawlines at sun.plugin2.applet.Ap...

can java applets (not signed) create / read cookies?

I was wondering if it's possible to write cookies to clients from unsigned applets. ...

Trying to get a signed applet to work in a browser but fails miserably.

Hi, I created a JApplet which uses two external libraries (JENA and JUNG). The applet works correctly when i run it from the IDE (using eclipse). I created a jar file, signed it (since the applet needs to read text from disk), created an HTML page to hold the applet, however when i try to run it in a web browser i get the java security ...

WebBrowser1 problem with external web app.

the external Application works good in IE so i know the problem is inside My App. The external web app is java applet and java script based, and the problem im experiensing is when the java applet tryes to run a java script. The Applet opens a seconday window with a java script and tryes to do some operations but then i just stops. And ...

Entire jar is read for every getResourceAsStream

Hi I am profiling a java applet startup time. I have noticed that a huge jar of size 5MB is fully read every time a resource from the jar is requested. E.g. images log configuration files, I18N files etc.... Sould it behave that way? Is it possible just to jump to the correct point ? Is it possible to read the file only once? If I will...

What's the host param in applets for if when we can use codebase?

what's are the uses of the host param with java applets? can it be tricked to use a different server than the originating server? I didn't find a clear complete explanation of the host param. ...

2 ways to get page url in java applets, what's the difference and/or benefits of each?

Hi experts,,, the two ways that I know to get the page url are: 1.through the applet class: Applet.getDocumentBase() 2.through the netscape javascript library: JSObject.getWindow(this).eval("location.href") First, what are the differences between those two methods and advantages of each, Secondly, can users trick the url of those met...

Is there another way in java 1.1 to handle cookies in Applets other than JSObject

Hi experts,,, wish you all a happy and exciting year of 2010. Is there another way in java 1.1 to handle cookies in Applets other than using JSObject... ...

About JSP and SIgned applets.

Here's the JSP page applet tags: <applet code="localfile" width=150 height=150> <param name="archive" value="localfile.jar"> </applet> Applet Code is: package locf; import java.applet.*; import java.util.*; import java.lang.*; import java.io.*; public class localfile extends Applet { @Override public void init() {} ...

accessing Browser's javascript from Java applet with MS Internet Explorer

I'm using JSObject plugin to write a cookie through the java applet and it worked with SUN's Java. but, With MS JVM the javascript command returning undefined I'm issuing the following from my Applet: String s1 = "document.cookie='logged=1'"; aobj = new Object[] { s1 }; JSObject.getWindow(MyAppletWindow).call("eval", aobj); any clue...

applet does not load

We have a legacy program that was ported from Java 1.3 to Java 1.5. This application involves applets which worked fine before. After porting however, the applet would not load. However there are no errors or exceptions. The app would just try to load it forever. We tried to run it with Java 1.6 and poof! No problems whatsoever. Isn't Ja...

Is it possible to run Java applets in the Android WebKit Browser?

Is it possible to run Java applets in the Android WebKit Browser? If not does anyone know when java applets will be supported? ...

does Microsoft JVM support writing cookies in Applets?

I know that sun's can handle that through JSObject but is there some way for Microsoft JVM? I tried using JSObject with Microsoft but's it's unable to write/read any cookies. it returns "undefined" instead. any help appreciated. ...

Signing Applet with Maven jar plug-in and Bouncy Castle

I have a problem with a signed Java applet - specifically, why it is not signed using my certificate. I'm using Maven in Eclipse. The applet (a) allows the user to choose a local file or directory, (b) encrypts the file(s), and (c) uploads the file(s) to the a PHP based web page. The applet is signed, presumably using my certificate - i...

Designing full website using java applets

Hi, I want some suggestions. I want to create a website with using Java Applets. Could u pls suggest me if I am thinking in the right way or not? What are the problems (other than development) my site will have to face, mean like flash plugin, users having JRE installed on their system or not, The applet based site performs good on ea...

Problem loading Java applets after creating VM in Internet Explorer

I have an Internet Explorer Browser Helper Object (BHO) that uses the JNI_CreateJavaVM() API to create a Java VM in the iexplore.exe process so that I can make JNI calls for my business logic. However, when I browse to sites that try and load Java applets (e.g., http://www.javatester.org/version.html), then the applet fails to load. If...

Java applet doesn't run on my local machine

I'm writing my own Java applet that can write to /tmp on my local unix machine. this applet is only going to run on a html page, inside my machine only. No server involved. But when I try to open my page inside Firefox, the applet doesn't seem to work at all. I don't understand why, since all the .class, .html and .jar files are on the ...

Hessian Web service invocation from a JavaFX Applet

Hi, I'm trying to invoke a Hessian Web Service from a JavaFX applet. I know it needs some reflection permissions so I signed it myself for testing but even then it doesn't work. The browser asks me if I accept the certificate, I click yes but I receive the permission exceptions anyway: com.caucho.hessian.client.HessianRuntimeException:...