applet

jar applet classpath

I am trying to add a JAR file to a simple java applet which can be opened has an HTML. This is my coding: <applet code="AgniCorpContactsApp.class" codebase="/agnicorpcontacts" width="100" height="100" archive="AgniCorpContactsApp.jar"> </applet> The location of the JAR file and all of the class files is: C:\Documents and Settings...

Giving Java Applet access to images on a webserver

Hi SO, I am building a Java Applet that is running local that needs to access a couple of images on my webserver. How can i load images from a given webserver in java? ...

jar applet classpath

I am trying to add a JAR file to a simple java applet which can be opened has an HTML. This is my coding: applet code="agnicorpcontacts/AgniCorpContactsApp" width="100" height="100" archive="AgniCorpContactsApp.jar"> The location of the JAR file and all of the class files is: C:\Documents and Settings\Owner\My Documents\NetBeansProj...

Alternative to Java Applet for File System Access from Web

I'd like to integrate a application into a web site which allows user to manipulate files on their local machine via the web browser. Flash and Silverlight run at with low permissions and no file system access. Are there alternatives to using a java applet? ...

large applets large userbase low bandwidth

I've got an applet that is rather large (4MB) on a web page used by a few thousand users scattered across a WAN. Bandwidths to these users range from a paltry 128Kbps to 10Mbps. The problem occurs when a new version of the applet is made available; it is downloaded automatically by all the users browsers effectively chocking the network...

JAXB within an applet - package-info.class not found

We have a web application that uses JAXB from inside an applet. Everything works fine, except when the JAXBContext is first created, we see the following logged in the applet console: Creating JAXBContext... network: Connecting https://myserver.com/MyApp/CC.ccc with proxy=DIRECT network: Connecting https://myserver.com/MyApp/CC.ccc wit...

What does the future look like for Java Applets?

In the past, java applets were unreliable, due to the Microsoft/Sun JVM split. Flash took over, and Java applets became known for browser crashes and performance issues. Now that the JVM is enjoying resurgence as a platform for dynamic languages like Clojure and Scala, what is the current and future outlook for the JVM for in-browser ap...

Oracle CRM OnDemand custom web applet - add User object variables to URL

I have a custom web applet that I am adding to the Lead object tab of my Oracle CRM On Demand app. It is easy to include a variable in the URL via the %%%VARIABLE_NAME%%% convention but that seems to only work with the object itelse (Lead, Service Request, etc) Since the field I want to add is part of a different object (the User) it doe...

Java web app interacts with a COM component in users local machine

Hi All, We are planning to use Java Applet which will be downloaded to users browser and communicate with the com component using JNI. And also the applet will interact with the web page using Java Script. Web page -> Javascript -> Applet -> JNI - > COM The web page would display the data returned by the COM and also It can send the...

Canonical way to include an applet

What is the canonical way to include the Applet? I have tried, Switch on Browsers in JS. http://download.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/using_tags.html#javascript This breaks in Safari 5.0.1 on Leopard. (It worked on Safari on Snow leopard.) Since we are not supporting old brosers, I assumed I could just u...

What are some popular sites that use Java applets?

I need to cite them in a sales pitch for a web app that will have applets in it. ...

Distinguishing signed Java applets

I have a Java applet which doesn't need any special privileges to run (i.e, it runs fine in the sandbox), but which expects the user to enter some sensitive information. Therefore, I'd like the user to be able to verify the origin of the applet. I then signed the applet, and everything appears to be working correctly. The browser appare...

The best way to pass JTree to applet

I have created a DefaultMutableTree object with application scope in my web app. I'm going to intialise JTree with my object and display the hierarchy using the applet in jsp. I'm not sure how I can pass JTree object to applet. ...

Java: Quickly fade in and out the gain of a javax.sound.sampled.Clip

I want to smoothly transition between two audio clips that are loaded into an array of javax.sound.sampled.Clips in my Java applet. At the moment I stop one clip and start the next but this produces audible clicking noises due to the audio stopping and starting abruptly. I need to use the Clip interface so that I can do looping and trans...

jaxws external binding file not used at runtime

I have created a jaxws client applet that needs a binding file in order to avoid duplicate class names in the wsdl. When wsimport is run using the binding file, the generated client classes are placed in different packages. The client then works great when debugging through eclipse. However, when the applet is run from a web page serv...

How to send an image from a Java Applet to JavaScript?

Hello, I have a Java Applet that is generating an image. Ultimately, I would like to insert the image data into a database, so I want to temporarily store the image data in a form field on the page containing the applet. I am hoping to do this without storing an image file on the client machine. This all comes from a signature pad. Her...

Is it frowned upon to make Java applications as applets if they are not going to be embedded?

It seems that applets are a lot easier to develop in many cases. In my first Java classes we were told to avoid using applets, but now that I am in more advanced classes the instructors do not seem to care. How do most developers feel about making Java applications applets even if those applications are never going to be embedded? Is ...

JNLPAppletLauncher can't find subApplet class name since Java update 21

Hello Tom, Since JRE version 1.6.0_21-b07 org.jdesktop.applet.util.JNLPAppletLauncher can't find the class contained in the parameter subapplet.classname anymore. In https://applet-launcher.dev.java.net/source/browse/applet-launcher/trunk/src/org/jdesktop/applet/util/JNLPAppletLauncher.java?rev=41&amp;view=log your name appears in revis...

java applet reports SocketException or ConnectException but connection is OK

Hello, I'm somewhat new to java applet programming and am maintaining someone else's applet. The signed applet records some voice and then uploads the file. In the upload, we sometimes get one of these exceptions(SocketException, ConnectException, even UnknownHostException). We trap them, and then report them via a Javascript call fro...

Applet: problem with cookie encoding for jar request (Firefox - Iplanet)

I have an applet working with a JAR file. When the JVM sends the request to the webserver for the JAR file, it adds to the request the existing domain cookies. However, one of these cookie is encoded, and on Firefox with Iplanet (webserver), it prevents the jar from being downloaded (server returns error 400). Below the HTTP request (as...