Hi all,
I'm developing an applet that makes some work and then a redirection to an URL when user clicks on a button. I'm using a SwingWorker to prevent GUI gets locked up.
But when I run the applet I get this error after clicking the button:
Exception in thread "SwingWorker-pool-1-thread-2" java.lang.IllegalMonitorStateException
...
I' m looking for a code to save the files created in a applet normally text files i want to save them on a server directory how can i do so.
...
My applet runs file when I call it from a static applet.html file, like this:
<applet archive="applet.jar" code="com.xxx.yyy.PApplet"
width="100" height="20"></applet>
But how do I put the same line in a django template? And where should I put the .jar and .java files? I also noticed that it appends .class to the PApplet while lo...
Hello,
I have an webpage that displays a java applet. The applet is resized if the window is resized using JavaScript which works fine.
The width and height of the applet is set to 100%. When the applet is loading, an image is displayed
image = "preloader.gif"
Using IE 6/7 everything works fine. But in Firefox, the applet has a heig...
Hello,
I am relatively new to java and have a java application consisting of a couple of packages and a number of classes. I want to be able to run this application in a web browser. How do i go about doing this?
...
I'm struggling to find a way to hide a java applet () using jquery.
I have a link that opens up a simple ajax fancybox (http://fancybox.net) problem is that it always appears 'behind' the actual java applet.
Is there a way to 'hide' the applet or even unload it ? I can reload it after closing the fancybox (basically asking for user con...
one of the users who is using my signed applet is unable to upload the file (basically unable to access the drive) from his netwrok drive and few of the other users who are using my signed applet able to access and upload the files from network drive. can i know what could be the reasons behind ?
Note : user who is not able access the f...
I have an applet which communicates with the browser via javascript. I load the applet, and some javascript, in an iframe, and in Windows 2000 with IE6, I have determined that the messages the applet propagates hit the parent frame, rather than the iframe.
Is there a better solution to fix this than include windows2k.hacks.js, with prox...
does anyone know the code for displaying an animated .gif inside an applet?
...
I am trying to make several rectangles show up when the applet is started with a couple colors added in...I already have the beep audio file but from what i know, it will play throughout the whole program. Can someone please tell me how to make the beep sound occur only when the rectangles are clicked?
...
Hello.
I am trying to use an applet I downloaded. I get the following error when using it
Can't load library 'friend'.
java.lang.UnsatisfiedLinkError:no friend in java.library.path
No resource '/libfriend.so' found.
Please help. Thank you.
...
Hello guys,
I am doing a project on applets. I designed the applet using netbeans. After building the project in netbeans, I took the directory "classes" and a .html file from the "build" directory and moved it to another new directory. This .html file includes the applet. The .html file displays the applet correctly, when it is viewed ...
I need to capture portion of user screen usign java applet. It is easy to do using Robot class but I'd like user to select which portion of screen to capture in draggy-droppy way.
So I need to draw rectangular frame over users desktop and response when user resizes it.
How could I do it? Thnx.
...
hello guys!
I'm very interested in 1 question - HOW to make a screennshot of a client desktop for futher sending to web service or to my Silverlight application.
I'm going to write an applicaton for screencasting.
Thx in advance!
...
I use a Java applet, which produces unwanted sounds to me.
Mute option in the applet is missing, and it's not possible to rewrite the source code.
I want to hear other(non-JVM) applications' sounds.
How do I suppress this Java applet(or JVM) sound output without disabling it?
I'm using Ubuntu 9.10, jre1.6.0_18 and Mozilla FF 3.5.8.
UPD...
I am trying to set the look and feel (LAF) of a Java applet that is used via a web browser. I wish to set the system default LAF, but when loaded in a browser, the applet returns to the Metal LAF. When I run it as a stand-alone applet, the LAF is applied correctly. The only item I am showing the user is a JFileChooser. I have tried a...
I always found this rather annoying fact about applets, that they disappear if you scroll the browser window, to reappear when the scrolling is over. What's the reason behind this behavior ?
...
hi,
i have a java applet in one html page, later, i modified the java code and regenerate the jar file. all i did is copy the jar file to my web server and brought up the browser to see the updated the appplet, but it still showed the old version. i tried refresh the browser, delete the cookies, still the same. i tried to open that htm...
Hi,
I am doing some thing obvious wrong. I have a simple applet which needs to upload files to server. I have written an ant script to build the jar file. However, the manifest.mf has class-path split into multiple lines.
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Class-Path: lib/commons-codec-1.3.jar lib/commons-ht...
I have an html file which has a jar file included in it as an applet. When ever i am opening the html file its getting too much time to load the applet.
Is there any way by which i can reduce this loading time??
...