Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Applet woes...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applet woes...



Hi all,

I've had an application (that makes extensive use of QT) working for some time and am now in the process of converting it to an applet.

I've got the applet to work fine with Sun's appletviewer but am having some problems getting it to work in a browser.

I did some digging around and found that there are known problems with the VM's supplied with browsers, and that Sun supply an html converter that will convert your html to something that will correctly invoke applets.

I've done this and the applet now initialises ok, but I am getting the following error in the java console window:

java.lang.NoClassDefFoundError: quicktime/Errors
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at oasis.run(oasis.java:88)
at java.lang.Thread.run(Unknown Source)

Like I say, (more or less) the same code works fine in an application, but not in my applet. I have had this problem before in the application, and I'm sure the fix had something to do with the classpath, but I can't seem to find the problem in the applet.

I'm sure I'm being pretty stupid, but I'm incredibly tired and a bit monitor-blind having been sat in front of the screen for the last 12 hours. Anyone got any ideas?

thanks

Neil



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.