Article View: borland.public.jbuilder.java.swing
Article #12965Re: Swing 1.0.3 and Jbuilders's ImageControl
From: Richard Wilkman
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
70 lines
3594 bytes
3594 bytes
Shekar: That is "the infamous Metal L&F bug" that was introduced in JFC 1.02 and higher and is one of the reasons we have not "forced" migration to the later releases of JFC. Until it get's fixed (check the JDC Bug Parade -- they may have included a planned fix date), the only work around is to not use Metal L&F. -Rich Shekar Pannala wrote: > > 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 -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<3623D14A.C3D60068@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3623B603.D2C79AF5@worlnet.att.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,d7bd6a15d30809d1 X-Google-Attributes: gid111d45,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: Swing 1.0.3 and Jbuilders's ImageControl Date: 1998/10/13 Message-ID: <3623D14A.C3D60068@inprise.com> X-Deja-AN: 400772996 Content-Transfer-Encoding: 7bit References: <3623B603.D2C79AF5@worlnet.att.net> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing