I have a Java Applet which needs to post some stuff to the web. The code, the author of which has long since disappeared, is currently using raw Java.net.Sockets to communicate with the server.
On the server side, the client requests are authenticated with NTLM or Kerberos. For requests coming from the browser itself, each HTTP header g...
It is possible to access HTML DOM from an applet using netscape.javascript JSObject API.
However, if I query a value of a input type="file", on some browsers (Opera) I get a full path to a selected file, but on other browsers (Firefox, Chrome) just a file name without path.
Is it possible, having an HTML input type="file", to figure out...
If so, can someone point me in the direction of an example? Or even some code?!
I'm guessing that I can't as the applet embedded in a gadget using the following...
var div = document.getElementById('content_div');
div.innerHTML =
"<applet CODE='http://www.echoecho.com/lake.class' width='370' height='200'>
<param name='ima...
It's a farily simple setup. A .jar is hosted on a site which is protected by basic auth. I try to load the jar with an object tag - which works perfectly when tested without authentication.
When the .jar is requested from the server, the basic auth header isn't included in the request. Why is this?
...
I'm trying to write a simple java applet program, but it seems that I'm missing the javax.servlet.* class definitions.
Using:
apple snow
eclipse Java EE ide
Do I need to add a specific JAR file to my project and if so, which one?
I have Macports installed in case something from the ports might be helpful.
...
How can convert a certain file into in a String? And then from that String to get the original file? This needs to realize it using Java.
It would be greate an example of code or a link to a tutorial.
Have to converted an entire File (not thecontent) in the String and then the String to the File.
Thanks.
...
I would like to load remote applets into my own applet.
For example, lets say I want my applet to download and display a game from this site within my java applet:
http://www.java4k.com/index.php?action=home
How do I do that?
...
I noticed that the launching of Java applets using deployJava.js seems to have stopped working on some Mac browsers. Safari and FF still work, but Opera and Chrome send the user to Java installation page, as if the plugin was not found.
Take for example this. If you click the launch button in Opera, it sends you to a Java installation...
I'm using Rad upload for drag and drop upload. It's working perfectly except I'm having a problem with the z-index. I'm also using jquery UI on the site and the overlay doesn't cover the applet.
Any ideas on how to control the z-index. It would be nice if there where a setting like in flash where you control wmode. But I've tried z-ind...
Hi guys,
In code I am working with there are instances where an IFrame gets placed partially over a Java Applet. I thought this approach was a "hack" and wasn't guaranteed to work correctly across browsers but up until now there hasn't been any show stopping bugs with the approach... Today however I found circumstances where on firefox ...
Hi,
I am trying to view a .doc/.docx microsoft word files in a webpage on firefox. When all failed i tried creating an applet that will hold an instance of Word OLE to view the document.
I created the applet using: org.eclipse.swt.ole.win32.OleClientSite, and with in eclipse it works fine and i can see Word inside.
I created a .jar fi...
Hi,
I need the functionality to show large images on a Java Applet without increasing the default heap space. I'm getting the "Out of memory" exception when reading the large image using ImageIO.read() into a BufferedImage (what was expected to happen).
To solve this issue, the first thing that comes to mind is to divide the large imag...
I need to access and use some image manipulation api's other than java's, so is it possible to access the windows .net redistributable api's from a java applet that is signed.
...
What is the most user- and standard friendly way to embed a Java applet in a HTML page?
Is there something similar to Flash's swfobject that will gracefully degrade if Java is not installed on the user's machine and give the user the alternative to install Java.
...
I am using netbeans to develop an applet, i have a piece of code which looked like this:
ipAddresss = DEFAULT_IP;
System.out.println("portlet.services.hostname:" + ipAddresss);
Now I changed it to something like this:
ipAddresss = DEFAULT_IP;
System.out.println("portlet.services.hostname using default IP Address:" + ipAddresss);
...
Hi,
i want to run the applet on the browser in java.I have to load and manipulate big size images on the applet.
whether is it possible or not?
can any body give me the resolution for the same.
Thanks,
Mishal Shah
...
How would one go about programatically loading all the resource files in a given directory in a JAR file for an applet? The resources will probably change several times over the lifetime of the program so I don't want to hardcode names in.
Normally I would just traverse the directory structure using File.list(), but I get permission iss...
I'm successfully playing sounds in a Java (1.5) applet game using the following code:
// get an available clip to play it
Clip clip = null;
for (Clip clipTemp : players) {
if (!clipTemp.isOpen()) {
clip = clipTemp;
break;
}
}
if (clip == null) {
// no available player found, don't play
return;
}
clip.open(au...
How does http://www.screentoaster.com capture a computer screen from a browser using Java Applet? Any suggestion or a lead in how to accomplish this? Is there other way to do using using different technology such as Flash?
...
i am trying to get system fonts in applet form client side but it does not work for applet help required.
...