Hiding a Java applet using display: none causes firefox to kill the applet until it is visible again. It also seems to kill the applet if you position the applet out of view ie. position: absolute; left: -9999; Using visibility: hidden; will hide the applet without killing it, but then the applet still takes up space in the layout wh...
How can I determine if my client is running OpenJDK with a web plugin? I've tried java.version and the rest of the properties listed here.
Running java -version from the terminal works fine, but if I went this route, java would have to be on the user's path, which I don't know if I can trust entirely. Is there any other way to see the s...
I have a java applet built using awt.
I draw some text on a panel object and everything goes fine.
but when resizing the windows all the text disappears.
this behaviour is different among different jvms and platforms.
moving to swing isn't a possible option, because we have to maintain compatiblty with Microsoft JVM.
...
I have an applet which connects to a SFTP server to download file. The login credentials need to be included within the applet so that user will only select the download location and the download process will start.
Login credentials are dynamic based on some business logic.
Now I need to decide the approach to pass the dynamic login ...
Where can I find a ready made applet that will record audio-video from a microphone and a webcam and the upload it to my server?
Is there a tutorial or any such ready to use applet?
...
what's the shortest path to convert a java applet to flash / flex ?
have you any experiences with something similar? please describe.
thanks guys
...
I have an java applet running on tomcat 5.5. It is signed ( -selfcert). I still get an java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader) Exception, when my Applet tries to connect to a webservice (already in this line):
ws_locator = new My_WebserviceLocator(ws_adress + "?wsdl",
...
Hi,
I am creating a simple applet for avatar-making. You can choose face, hair, eyes, etc and then save it to a disc as a png file. The simple version (without the interface for the simplicity purpose) looks like this:
import java.awt.*;
import java.applet.*;
import java.net.*;
public class Example extends Applet
{
Image my_gif;
I...
I have a java chat applet that's compatible with JDK1.1 so it works well even with Microsoft JVM.
the thing is, sometimes the chat area within the applet becomes white and messed up.
It can only be fixed back by closing the whole Internet Explorer (all windows and tabs) and restarting it.
this doesn't exist when running the applet on ...
I have an Applet with HttpUrlConnection to IIS 6.0 Server.
Server response chunked data, but sometimes (some browsers) i have a problem.
Server answers stick in certain buffer, and arrive at me when the server close connection by timeout.
url = new URL(urlStr);
huc = (HttpURLConnection) url.openConnection();
huc.setDefaultUseCaches(fa...
I want to call (just display another applet)one applet from another applet
. I just placed a button on my first applet and on its actionperformed method
used the getcontextapplet() method. But second applet was not displayed.
How can I display a second applet on any reaction of first...
The code:
import java.io.;
import java.applet.;
...
I have two applets A and B. They are embedded in separate pages. On destroy, A serializes objects to the local file system. On init, B deserializes these objects. This set-up works fine in Windows. Unfortunately, I have discovered that it doesn't work in Mac OS X. This is because B is initialized before A is destroyed. Does anyone...
Hello All,
I'm trying to create an applet which displays a simple table with no headers or other decoration. Could anyone be so kind as to show me the code for this? All the examples I've found haven't compiled or have included extra features which I don't need. A simple 2 x 2 table with empty cells and no headers is what I'm looking for...
I am looking for a Java applet to read a file from client machine and creat a POST request for PHP server uploading.
PHP script on server should receive the file as normal file upload in FORM submit.
I am using the following code. The file contents are passed to PHP script
but they are not correctly converted to an image.
//uploadURL...
Can we only have Start() and Stop() instead?
Any one know?
...
Hello all,
Extremely new to Java an just playing around with it. I'm trying to add text fields to below a table and for some reason I can't see them. Code is below:
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class danTeamProject extends JApplet implements ActionListener
{
danTable a...
My app is a JApplet which opens a JFrame. the applet has a listener and a button, so that if the frame goes behind another window (looses focus), the user can simply click the button to get it to come to the front. frame.toFront(); This works fine.
But initially (in the applet's public void init() {}),
after calling frame.setVisible(tr...
In the effort to learn more about applets and Java, I am experimenting making wave applets by drawing lines (drawLine) and making animated line graphs.
I can make a static graph just fine. However I am struggling with the animated aspect of the graph: the axes of the graph should move from left to right, increasing and growing larger th...
I have an applet that displays a dialog box on click of a button. When the dialog box is first displayed, it is shown using the native look-and-feel of the OS. When the dialog box is displayed a second time (same page, browser, OS, etc.), it is shown using what I think is the Swing look-and-feel. To my knowledege, I do not explicity s...
I have a Java file and from that I want to call an applet file.
How to do it?
...