applet

Detecting whether browser can load Java Applet successfully - Unexpected behaviour on Firefox

Hi, I have an ASP.NET page which loads a Java Applet. I am first checking that the client computer has the ability to run the applet (Java version etc) by giving the tag an ID of "AppletID" - then I call a function of this applet which always returns "true". So, the following line of code: var isRunning = document.getElementById('App...

Execute jdbc applet in browser

import java.sql.*; import java.io.*; import java.awt.*; import java.awt.event.*; import java.applet.*; /* <applet code="A0" width=250 height=200> </applet> */ public class A0 extends Applet implements ActionListener,ItemListener { String msg=""; Button view,delete,create,edit,reapp,exit; TextField M_head; int x,i,ans=0,flag; public v...

Convert APPLET tags to OBJECT tags for IE6

Hello all, I have converted the following applet tags to object tags so that it can work. But for some reason the below isn't working. Firstly, Is the below a correct conversion that should work? Applet: document.writeln('<applet'); document.writeln(' code="LittleShootApplet"'); document.writeln(' id="LittleShootApplet" name="Littl...

Does this applet work for you?

Hello all, I have found a solution to get the full file path of a file that is about to be uploaded using a Java Applet. I need this for an internal system not anything else "dodgy"! Can anyone confirm if this works in an IE6 browser: http://www.maschek.hu/preview/ffx3%5Ffile/filepath.html I have an IETester application that has IE6/7...

Why does this Java applet crash and close IE6?

I am using the following Java Applet to get the full file path of a file that is to be uploaded: SVN LittleShoot. The thing is, the applet is initialized and it seems to be running in IE6 - but when I call one of the functions from JavaScript to the applet to open the file dialog box the browser crashes and closes itself just the dialog...

Java and crossdomain.xml

Does anyone have any experience with Java pulling data from another domain? Assuming my client has a minimum of 1.6.0_10, how likely is it for it to work. I've seen some posts saying it works, then others saying it doesn't, and still others saying it's broken in the later micro-updates. Any insight would be appreciated. Thanks, -Dan ...

Resize form objects in Java

I have a Java applet, which is a form that draw shapes into it (Rect, Oval, Line). Each shape is represented by 2 points and can draw itself to the form. When the JApplet form resizes, I need to resize the shapes also while keeping the aspect ratio. I didn't find an high quality solution for doing this that solves this problem. Tried t...

What is the differance between applets and SWING?

What is the difference between applets and SWING? ...

Accessing Java applet from another Java applet

A web application uses a Java applet that stores a password, submitted by the user, in a private property and uses this property in several public methods. I wonder if it is possible for another Java applet loaded from the same or different web site to call the methods of this applet or possibly access the private property containing th...

Applet freezes page on initial load (Mac Firefox)

We have a web screen with a number of applets that has a problem on Mac OSX 10.5.7, Firefox 3.0.15, java 1.5.0_19. The problem is encountered on the user site. On initial load of applets (with an empty applet cache), the screen locks up/hangs while loading the applets. After refreshing the page, it loads normally. If the cache is clea...

how can i add a swing application as a whole in a java applet?

i have made a urdu editor using swing in java and now wana add it in an applet to make a gadget that will be be available online, i am also reading the information of fonts from windows font folder is it possible to make an applet of it? ...

Setting the working directory of a Java Applet

Hi, I have two signed Jars, a.jar and b.jar. a.jar is launched as an applet inside the browser and b.jar is in Appdata/locallow/xyz (Vista). a adds b to it's classpath and calls some functions of b.jar. So far so good. Now b unpacks some dlls into the working directory and depends on them. It must be the working directory, because the d...

Using java applets from outside the Server's html page.

Hi experts... we have a java server-client application with an applet in the client side. our applet seems to be used by attackers for bots and other attacks... we suspect that they modified it and used it. because we use strongly encrypted packets they can do that in only two ways: 1.modify our applet and use it against us in someway...

how to overcome java applet security (communication with the containing server only)?

is there a way to overcome that restriction? I mean to communicate with a java applet to other than the originating server? ...

where can I bring com.ms.* packeges to build

I'm trying to build mS-java compatible applet and I have references to classes in com.ms.*. But I can't find the required libraries. ...

Java Applets vs Back Button

I noticed that if you're playing a song at http://listen.grooveshark.com/ and you hit the back button Flash is smart enough to keep on playing the music while navigating "back" inside the Flash application. Is it possible to implement this sort of thing using Java Applets, or do Applets alway shut down when you navigate away from the pa...

Is there a Java-applet implementation of HTML5 WebSockets?

Is there a Java-applet implementation of HTML5 WebSockets? I'd like to use WebSockets for a new project, and provide a backward compatible implementation of WebSockets (for all current non-dev browsers) using Java (or maybe Flash). I only want to write and maintain WebSockets on the server-side. I only want to have to deal with the We...

Call a Java Applet from Flex

Hi all! I'm working on Flex application and I need to open a Java Applet from Flex (e.g. clicking a button). In particular I'd like to open imageJ, a particular imaging program that could work as application, applet or be integrated in a web page. Is there a way to call it from Flex? I've seen a couple of tutorials that explain how to c...

Automated regression tests for java applets?

We're working on a project with a number of applets that has to work across a large range of OS (WIndows, Mac, Linux), browsers (IE, FF, Safari, etc) and Java versions (1.5+), and it often happens that a fix we apply will cause some sort of security exception an another platform or some other error. Is there any way for us to prepare au...

Is ther a way to get a java applet page URL from the server?

Does the server know the page URL of the applet without asking the applet? There's Applet.getDocumentBase() to handle that from the applet itself but I was wondering if there was a way on the server without referring to the applet. ...