applet

Applet loading problem with Win2003 Terminal Server

Applet loading seem to fail with JAVA 1.6 to error java.lang.ClassNotFoundException: at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) I believe this is related to limited security of user accounts under Win2003. Any ideas? The site is trusted. It works with ADMINISTRAT...

Java Applet Closes IE for Users not Admins - where is JAVAPOLICY.EXE file ?

I have issue with Win2003 that Java Applet Closes IE for Users not Admins. I found out the following solution but it refers to missing JAVAPOLICY.EXE file: http://www.experts-exchange.com/Programming/Languages/Java/J2SE/Q_22694925.html where is this javapolicy.exe file, its not included with newest JRE6 ? ...

A quick way to solve java.security.AccessControlException

I have an applet which have to read a file from server. But I receive the following exception java.security.AccessControlException: access denied (java.io.FilePermission \kb1.xml read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.Secu...

Where can I find an applet that requires Java 6?

I currently have Java 5 installed on Windows. I'm trying to test the way the new Java Kernal installs when my Firefox browser comes across an applet requiring Java 6. Unfortunately the applets I try fail to run or just run the Java 5 JVM. I have tried: http://jdk6.dev.java.net/plugin2/ http://www.psynixis.com/test/HelloJava6Applet.ht...

Java screen capture applet

Hello, Am wondering if there is any applet which I can use and customize to capture the users screen (windows and mac) in java? I saw jxCapture but it takes only screen shots. I want to use the tool to capture the screen (for screencast) and then export as flv format. Am wondering whats the best solution for that? Is there any applet/s...

Since today, I cannot access netscape.javascript.* classes within Eclipse

Since today, my Eclipse fails to load JSObject. This code was previously working OK. Any ideas how to fix it? I do have simple netscape.jar in the classpath. Here is the code that now fails to work: import netscape.javascript.*; ... try { doc = (JSObject) JSObject.getWindow(app); //.getMember("document"); } catch(...

Java Applet starts up very slowly for some users?

Hi, [UPDATE: I forgot to add that this 30 sec. freezing problem only happens the first time I try to load a file from the server. Subsequent loads are very quick. Maybe some strange reverse DNS lookup? I am hosting on Google's appengine.] I started a little project recently called http://www.chartle.net which is build around an applet....

load ActiveX object in Applet

Hi, I have a web application that processes events and audio received from a specialised microphone. The audio is processed by a Java applet that runs in the web page, but other events (microphone connected, microphone disconnected, microphone button pressed) are handled by an ActiveX object. The ActiveX object traps these events and c...

MYSQL & Java Applet

Hello, I am currently changing a java desktop application over to a java applet. Everything is working fine, but as soon as the applet attempts to make a mysql database call, it does not work. The code in the desktop application is fine, but as soon as its called from the application its not working. Do any changes need to be made to t...

Uploading a Java Applet into a webpage

I have created a java letter game applet using netbeans 6.0 which also has a Microsoft Access Database for the High Scores. I want to upload it into a webpage (like how its done on miniclip facebook etc) I'd like to know how it could be done ...

Multiple java Applets handling

I'm creating a simple java game Applet that has multiple Panels, The main game Panel has 4 JButtons that lead to the rest of the Panels when they are clicked. when the program runs, the four Panels are initialized 1st inside the init(), and inside each Panel initialization, I made all the Jcomponents invisible but only the main applet. ...

Java applets with hardware accelerated 3D graphics? OpenGL and/orDirectX

I can't find a clear answer to this question with all my googling. If I want a web applet, is there a library in Java that takes advantage of the hardware accelerated graphics drivers on the client's machine, as in OpenGL and directx? I'm picturing writing some driver detection code before the applet launches to detect 3D graphics capa...

Is there a way to detect when an HTML element is hidden from view?

Using Javascript, is it possible to detect when a certain element is no longer visible, such as when the user scrolls down far enough or when the browser is minimized or covered with another window? The overall goal is to swap out an advertisement only when the current ad is not visible to the user. One idea would be to have a very sim...

How to detect if IE is having JAVA blocked (security)

How to detect if IE is running with HIGHEST security and JAVA APPLET will not appear. It seems IE does not show alternative content of java object in this case. I like to display some instructions to end user how to adjust their security settings IF java is disabled. Is there difference in INTRANET ZONE how this works when compared t...

Applet loads jars from different domains; has problem loading resouces (e.g. images) from jars.

Hi, I have a sandboxed Applet, but that should not make a difference. The Applet consists of 2 jars. If I host both files on the same domain1 all is fine. Due to certain special circumstances I need to host jar2 on a different domain2. In the applet tag I list both files archive="jar1.jar, http://domain2.com/jar2.jar". First it seem...

Java jogl applet paint not working?

My jogl applet screen is blank. I have this for my paint code: public void paint(Graphics g){ canvas.update(g); } if I add g.fillRect(0,0,50,50); to it it'll draw the filled rect, but still not the jogl stuff. ...

Good way to deploy a Java3D applet?

I tried JNAppletLoader but with my JRE 1.6_02 gives many problems, it works once time every 10. ...

How do I simulate a modal dialog from within an Applet?

On setVisible(true), I call the following code to start a modal dialog: private synchronized void startModal () { try { if (SwingUtilities.isEventDispatchThread()) { EventQueue theQueue = getToolkit().getSystemEventQueue(); while (isVisible()) { AWTEvent event = theQueue.getNextEvent(); Object source = ...

Can you make http client connections from a web app(flash, java)?

Before I jump both feet in and waste my time learning something that I can't use for my needs, I have to ask: Can I make a http connection to another website from within a java applet or a flash file? Say I have a java applet that wants to load results from google. Will the JVM give me access to such a call? What about Flash? I've read...

Problem Using JApplet that Accesses a Database on a Web Application Using Netbeans 6.5.1

I created a JApplet using Netbeans 6.5.1 that accesses a database. When the program is run by itself, it runs perfectly. The issue is when you try to put it online using a web application in Netbeans, it will not access the database. I was told by somebody that the problem is that Java security will not allow you to do this. Is this ...