🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problem with TreeControl and Swing 1.1beta2

#13131
From: Guy Scharf
Date: Sat, 26 Sep 1998 00:00
34 lines
2104 bytes
I have an application developed under JBuilder 2 with Swing 1.0.3 and
now running on JRE 1.1.6.  This works.  I replaced swingall.jar and
windows.jar with Swing 1.1beta2 files on the system running the JRE.  I
did not install 1.1beta2 on the JBuilder system nor did I recompile. 
Now, when I try to run the application under the JRE I get an exception
apparently related to the TreeControl class.

Does anyone know what might be happening?  Do I have to recompile with
the Swing 1.1beta2 files?  If so, why?  Are applications that use Swing
upward compatible?

Thanks for any suggestions!

Guy

[Loaded com/sun/java/swing/JRootPane$1.class from .\swingall.jar]
[Loaded com/sun/java/swing/JInternalFrame.class from .\swingall.jar]
[Loaded com/sun/java/swing/JRootPane$RootLayout.class from
.\swingall.jar]
[Loaded borland/jbcl/control/TextControl.class from
.\jbcl2.0-rt.jar][Loaded
borland/jbcl/dataset/DataSetException.java.lang.NullPointerException
        at
borland.jbcl.view.TreeView.addFocusListener(TreeView.java:420)
        at com.sun.java.swing.JComponent.enableSerialization(Compiled
Code)
        at com.sun.java.swing.JComponent.<init>(Compiled Code)
        at com.sun.java.swing.JScrollPane.<init>(JScrollPane.java:200)
        at com.sun.java.swing.JScrollPane.<init>(JScrollPane.java:248)
        at borland.jbcl.view.TreeView.<init>(TreeView.java:41)
        at borland.jbcl.control.TreeControl.<init>(TreeControl.java:37)
        at np.NetworkEditor.<init>(NetworkEditor.java:51)
        at np.NPDemo.<init>(NPDemo.java:18)
        at np.NPDemo.main(NPDemo.java:46)
Technical Details
Message-ID: <360D74B8.F3A4D03B@swarc.com>
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,230890b87df2a1ba,start
X-Google-Attributes: gid111d45,public
From: Guy Scharf <guy@swarc.com>
Subject: Problem with TreeControl and Swing 1.1beta2
Date: 1998/09/26
Message-ID: <360D74B8.F3A4D03B@swarc.com>
X-Deja-AN: 395182521
Content-Transfer-Encoding: 7bit
Organization: Software Architects, Inc.
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing