🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Swing 1.0.3 and Jbuilders's ImageControl

#12962
From: Shekar Pannala
Date: Tue, 13 Oct 1998 00:00
44 lines
2662 bytes
I added Swing1.0.3 package to jBuilder2 as suggested in the newsgroup.
Everything
seems to be working fine till I use ImageControl. When I use this I get
the following exception

Exception occurred during event dispatching:
java.lang.ClassCastException: borland.jbcl.control.ImageControl
        at
com.sun.java.swing.plaf.metal.MetalTextFieldUI$TextFieldBorder.paintB
order(MetalTextFieldUI.java:80)
        at com.sun.java.swing.border.CompoundBorder.paintBorder(Compiled
Code)
        at com.sun.java.swing.plaf.BorderUIResource.paintBorder(Compiled
Code)
        at com.sun.java.swing.JComponent.paintBorder(Compiled Code)
        at com.sun.java.swing.JComponent.paint(Compiled Code)
        at com.sun.java.swing.JComponent.paintChildren(Compiled Code)
        at com.sun.java.swing.JComponent.paint(Compiled Code)
        at com.sun.java.swing.JComponent.paintChildren(Compiled Code)
        at com.sun.java.swing.JComponent.paint(Compiled Code)
        at com.sun.java.swing.JComponent.paintChildren(Compiled Code)
        at com.sun.java.swing.JComponent.paint(Compiled Code)
        at com.sun.java.swing.JLayeredPane.paint(JLayeredPane.java:555)
        at com.sun.java.swing.JComponent.paintChildren(Compiled Code)
        at com.sun.java.swing.JComponent.paint(Compiled Code)
        at java.awt.Container.paint(Compiled Code)
        at sun.awt.windows.WComponentPeer.handleEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.EventDispatchThread.run(Compiled Code)

I have a feeling that this is because of Metal look and feel. Can
somebody from Inprise or anyone else who have faced this problem help us
out? This issue is killing us and there are some compelling reasons for
us to go to Swing1.0.3.

Can someone from Inprise put a technical document if people can migrate
to swing1.0.3 and identify issues if any? There are so many questions on
Swing1.0.3 and it would be really helpful if inprise can comment on
this.


Thanks in advance,
Shekar
Technical Details
Message-ID: <3623B603.D2C79AF5@worlnet.att.net>
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,d7bd6a15d30809d1,start
X-Google-Attributes: gid111d45,public
From: Shekar Pannala <vasukalpat@worlnet.att.net>
Subject: Swing 1.0.3 and Jbuilders's ImageControl
Date: 1998/10/13
Message-ID: <3623B603.D2C79AF5@worlnet.att.net>
X-Deja-AN: 400736003
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