Why Appletviewer throws AccessControlException: access denied
Why Appletviewer throws error with this: thread = new Thread(this,"main thread"); ...
Why Appletviewer throws error with this: thread = new Thread(this,"main thread"); ...
Hi, I went to the this java site and loaded the files in a new project in netbeans 6.8 . I removed the package declaration and put them in the default package of the project. I tried to compile it by right clicking and selecting run(Shift + F6) on the SingleLaneBridge.java file. This program compiled without errors. This is what I got...
I have an applet that loads its jar dependencies from a server using SSL + client certificate authentication. The web page that loads the applet is already authenticated using a client certificate. However, when the applet starts up, the JVM process (separate from the browser) brings up a dialog for certificate selection. These certi...
I am working on a Java applet that uses javax.sound.midi.sequencer to play a MIDI sequence. In order for this to work, the visitor needs to have a soundbank installed on his/her computer. Apparently, the Windows JRE doesn't come with a soundbank, and one has to be downloaded separately from http://java.sun.com/products/java-media/sound/...
Here's my code: import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.table.*; import javax.swing.JOptionPane; import java.util.*; import java.applet.*; /*<applet code=tabledemo.class height=300 width=300></applet>*/ public class tabledemo extends JApplet implements ActionListener { JScrollPane jsp1; ...
I have made a Java Applet that depends on some third party libriaries as well as a DLL that is called via JNI. These will obviously not be installed on clients computers. Is there anyway to package these third party libriaries and external DLLs within my Applet's JAR so that it can be run by any client with a base Java install? ...
Hi all, In my project i want to write biometric data (like fingerprint template) on a smart card. After some good study i chose Java card for my project. But i am new to this platform and know very little about this :( I have read tutorials from Sun also, but was unable to resolve some confusions: 1.) I just want to read and write bio...
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? ...
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? ...
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...
Hello everyone, I have a Java applet related problem and I would appreciate your help. Here's the story: I tried creating an applet, that would try to connect to digg.com and by using it's API, show the 100 most popular stories (also include some options to sort and filter the results). Anyway, the applet opens and shows the GUI just fi...
My html page is using java applet and it has javascript callback functions. With IE and Firefox, we can see a hand cursor when mouse is over the link where there's javascript callback function. But with Safari, we cannot see hand cursor unless we click on java applet area to activate the applet. Please advise if you have a solution that...
Hi i have an applet that is launched on page loading and cached for offline purpose. below html code snippet is working in windows but not working in Ubuntu linux <object classid="clsid:CAFEEFAC-0016-0000-0000-ABCDEFFEDCBA" name="generalapp" height="0" width="0"><param value="com.gofrugal.raymedi.print.GeneralApplet.class" name="CODE"...
I have a list of IP's in IPv4 format that i have collected from previous HttpRequest objects that my web-server received. I have a java applet which gives IP addresses in Ipv6 format(java applet returns a bunch of data along with the IP address). I need to check if the IP returned by the applet matches any item from list. How do inter-...
Hi SO. I have an applet that shows a couple of images. A lot (10-20) of these images is identical, and is fetched from the internet in a non-parallel way. Is there an imagecache that I can use? So I only fetch the same image once, or do I have to make my own? Thanks ...
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...
why doesnt this work?, It keeps setting the label in the middle and the left side of this, what is wrong? Im a total begginer, sorry if this is too basic package myfirstexample; import javax.swing.JApplet; import javax.swing.JLabel; public class Main extends JApplet { @Override public void init(){ setSize(500, 500); ...
Hi, I'm using getAppletContext().showDocument(new URL("javascript:" + command)); to call javascript from applet. But sometimes in firefox this doen't work, I don't know why. So, now I'm trying to use JSObject, using this: JSObject jsObject = new JSObject(); jsObject.eval(command); But I got this error: Exception in th...
I have a signed applet that builds a menu from an xml file. When it loads I get the java security warning regarding signed and unsigned code. The applet uses jdom.jar It doesn't matter if I hit yes on the security warning dialog box to block the unsigned code, or if I click no, the applet launches and runs as expected. I have found...
Hai , I am getting the following error when i try to run an applet on browser. My applet class contains file acces code with in it. java.security.AccessControlException: access denied (java.lang.RuntimePermission getenv.RGENGINEJAVA) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessContr...