remove me from this mailing list ASAP
-----Original Message-----
From: Dimitris Vyzovitis <[EMAIL PROTECTED]>
To: Domingo Pinya <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 15. september 1998 18:52
Subject: Re: Swing & Navigator

Hi,
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).

   Any help? Thanks.
 

-- 
============================================================================
                         Dimitrios Vyzovitis
                  Information Processing Laboratory
                 Aristotle University of Thessaloniki
           [EMAIL PROTECTED] or [EMAIL PROTECTED]
                    http://egnatia.ee.auth.gr/~dviz
 

Reply via email to