🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11775

Swing applets under Netscape 4.5

#11775
From: Ugo Landini
Date: Wed, 14 Apr 1999 00:00
120 lines
3911 bytes
I've developed a test swing applet with Jbuilder 2.01 (using included
1.1.6 borland jdk), and it works well in the AppletViewer, but Netscape
(apparently it uses jdk 1.1.5) isn't able to run it correctly. At the
end of this mail there is the Java console output.
Any idea?

Java console output:

java.lang.Error

  at java.lang.Throwable.<init>(Compiled Code)

* at java.lang.Error.<init>(Compiled Code)

  at com.sun.java.swing.UIDefaults.getUIError(Compiled Code)

  at com.sun.java.swing.UIDefaults.getUI(Compiled Code)

  at com.sun.java.swing.UIManager.getUI(Compiled Code)

  at com.sun.java.swing.JButton.updateUI(Compiled Code)

  at com.sun.java.swing.AbstractButton.init(Compiled Code)

  at com.sun.java.swing.JButton.<init>(Compiled Code)

  at com.sun.java.swing.JButton.<init>(Compiled Code)

  at cgil.lomb.framework.test.AppletSwing.<init>(Compiled Code)

  at
netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
Code)

  at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
Code)

  at java.awt.EventDispatchThread.run(Compiled Code)

  at
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
Code)

UIDefaults.getUI() failed: no ComponentUI class for:
com.sun.java.swing.JButton[,0,0,0x0,invalid,layout=com.sun.java.swing.OverlayLayout]

java.lang.Error

  at java.lang.Throwable.<init>(Compiled Code)

* at java.lang.Error.<init>(Compiled Code)

  at com.sun.java.swing.UIDefaults.getUIError(Compiled Code)

  at com.sun.java.swing.UIDefaults.getUI(Compiled Code)

  at com.sun.java.swing.UIManager.getUI(Compiled Code)

  at com.sun.java.swing.JLabel.updateUI(Compiled Code)

  at com.sun.java.swing.JLabel.<init>(Compiled Code)

  at com.sun.java.swing.JLabel.<init>(Compiled Code)

  at cgil.lomb.framework.test.AppletSwing.<init>(Compiled Code)

  at
netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
Code)

  at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
Code)

  at java.awt.EventDispatchThread.run(Compiled Code)

  at
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
Code)

UIDefaults.getUI() failed: no ComponentUI class for:
com.sun.java.swing.JLabel[,0,0,0x0,invalid]

java.lang.Error

  at java.lang.Throwable.<init>(Compiled Code)

* at java.lang.Error.<init>(Compiled Code)

  at com.sun.java.swing.UIDefaults.getUIError(Compiled Code)

  at com.sun.java.swing.UIDefaults.getUI(Compiled Code)

  at com.sun.java.swing.UIManager.getUI(Compiled Code)

  at com.sun.java.swing.JSlider.updateUI(Compiled Code)

  at com.sun.java.swing.JSlider.<init>(Compiled Code)

  at com.sun.java.swing.JSlider.<init>(Compiled Code)

  at cgil.lomb.framework.test.AppletSwing.<init>(Compiled Code)

  at
netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
Code)

  at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
Code)

  at java.awt.EventDispatchThread.run(Compiled Code)

  at
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
Code)

UIDefaults.getUI() failed: no ComponentUI class for:
com.sun.java.swing.JSlider[horizontal, value=50, adj=false, min=0,
max=100, majorTickSpacing=0, minorTickSpacing=0, snapToTicks=true,
isInverted=false, paintLabels=false, paintTicks=false]
Technical Details
Message-ID: <371497B1.D6DA72A9@flashnet.it>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8bff475a32a5d783,start
X-Google-Attributes: gid111d45,public
From: Ugo Landini <Ugo.Landini@flashnet.it>
Subject: Swing applets under Netscape 4.5
Date: 1999/04/14
Message-ID: <371497B1.D6DA72A9@flashnet.it>
X-Deja-AN: 466288309
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing