Article View: borland.public.jbuilder.java.swing
Article #7836Re: Combo Box's Drop Down not displaying correctly
From: Khurram Shakir
Date: Wed, 03 Jan 2001 07:13
Date: Wed, 03 Jan 2001 07:13
78 lines
3662 bytes
3662 bytes
You are welcome Raid :) Khurram "Reid" <reidr@buzybee.com> wrote in message news:3A50C651.7070201@buzybee.com... > Hello Khurram, > > Thank you for the response. > > I have since found the error. > > I just D/L'd the new Java-Plugin v1.3.0.1 (j2re-1_3_0_01-win.exe) > > The new version of the plug-in enhances debugging greatly. It provides > a visual error dialog with the error description. It also allows > greater interaction with the debugging console. > > As a result of this fruitful upgrade when the applet I am having > problems with is launched outside the JBuilder IDE in an external > browser, it now displays an error dialog with the following error: > > The dialog is entitled : "Java Plugin Exception Dialog" > with an error message of .... > > "java.lang.NoClassDefFoundError: > com/borland/jbcl/layout/VerticalFlowLayout" > > I did try changing the layout type for every component in the project to > NULL. When I load the applet in Netscape's browser externally it does > not display the error. The combobox's drop down also displays in the > correct position!!! > > In another forum a reader posted a response that informed me the > VerticalFlowLayout class is a Borland implementation and because I did > not include that .JAR file in the applet's tag the class was not found. > > > Thanks for offering to look at my code to help me find this error. > > I am in the process of altering my code to accommodate this now. If I > still find the problem exists I will re-post another message. > > > Reid > > Khurram Shakir wrote: > > > please forward me your code, so I can guess what is the problem. > > Regards, > > Khurram Shakir > > Software Engineer > > Sun Certified Programmer for Java 2 Platform > > > > "Reid" <reidr@buzybee.com> wrote in message > > news:3A4CD3BA.5010907@buzybee.com... > > > >> Hello, > >> > >> I have a problem in that when the drop down list containing the combo > >> box's items are displayed, the list does not display in the correct > >> position. The list displays in an offsetted way to the right and down > >> approx 100-200 pixels. This is not the effect I am looking for. I of > >> course want the list to drop down underneath the control and remain the > >> same size in width. > >> > >> If the applet is launched as a viewer (via F9) the drop down list > >> remains directly under the control but extends out to the left and right > >> of the applet's canvas and as a result it's width gets truncated. > >> > >> Any suggestions would be greatly appreciated. > >> > >> Thanks, > >> > >> > >> Reid > >> >
Technical Details
Message-ID:
<3a52d12a_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.gamma.ru!Gamma.RU!colt.net!newspeer.clara.net!news.clara.net!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!203.135.53.84References:
<3A4CD3BA.5010907@buzybee.com> <3a507685_1@dnews> <3A50C651.7070201@buzybee.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1a86496fdee0da82 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-02 23:16:08 PST From: "Khurram Shakir" <kshakir@softhome.net> Newsgroups: borland.public.jbuilder.java.swing References: <3A4CD3BA.5010907@buzybee.com> <3a507685_1@dnews> <3A50C651.7070201@buzybee.com> Subject: Re: Combo Box's Drop Down not displaying correctly Date: Wed, 3 Jan 2001 12:13:50 +0500 Lines: 80 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 203.135.53.84 Message-ID: <3a52d12a_2@dnews> X-Trace: 2 Jan 2001 23:13:46 -0800, 203.135.53.84 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.gamma.ru!Gamma.RU!colt.net!newspeer.clara.net!news.clara.net!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!203.135.53.84