I had a similar rpoblem with 4.05.
I think that you should have to complete path to the jars in the classpath (only for netscape!!!),
that is try creating a script like the follwoing (this is the script I use to invoke netscape):
#!/bin/sh
export MOZZILA_HOME=/opt/netscape
CBASE=/opt/netscape/java/classes
export CLASSPATH=${CLASSPATH}:${CBASE}/java40.jar\
:${CBASE}/jio40.jar:${CBASE}/jae40.jar\
:${CBASE}/jae40.jar:${CBASE}/jsd40.jar:${CBASE}/ldap10.jar:${CBASE}/scd10.jar\
:${CBASE}/ifc11.jar:${CBASE}/iiop10.jar:${CLASSPATH}/swingall.jar
exec /opt/netscape/netscape
I hope this could help.
Hi,I'm usign Swing 1.0.2 and Communicator 4.05, and when I load any applet
that uses some Swing class, I have the next message:java.lang.NoSuchMethodError: java.awt.Component: method enableEvent(J)V
not found
at com.sun.java.swing.JComponent<init>(JComponent.java:130)
at com.sun.java.swing.JRootPane.<init<(JRootPane.java:182)
at com.sun.java.swing.JApplet.createRootPane(JApplet.java:133)
* at com.sun.java.swing.JApplet.<init>(JApplet.java:113)
at SwingingApplet.<init>(SwingingApplet.java:27)
at netscape.applet.DerivedAppletFrame.run(DerivedAppletFrame.java)
at java.lang.Thread.run(Thread.java)I have the packages swing.jar, motif.jar & window.jar in the classpath
and in in the class directory of netscape
(/usr/local/netscape/java/classes).
-- ============================================================================ Dimitrios Vyzovitis Information Processing Laboratory Aristotle University of Thessaloniki [EMAIL PROTECTED] or [EMAIL PROTECTED] http://egnatia.ee.auth.gr/~dviz
begin: vcard fn: Dimitrios Vyzovitis n: Vyzovitis;Dimitrios org: AUTH adr: 142 V. Olgas Avenue;;;Thessaloniki;;54645;Greece email;internet: [EMAIL PROTECTED] tel;work: ++30-31-996359 tel;home: ++30-31-817780 note: Orientation in space and time is the framework of cognition. x-mozilla-cpt: ;0 x-mozilla-html: TRUE version: 2.1 end: vcard