🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Combo Box's Drop Down not displaying correctly

#7816
From: Reid
Date: Mon, 01 Jan 2001 18:02
70 lines
3376 bytes
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: <3A50C651.7070201@buzybee.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!209.86.214.237
References: <3A4CD3BA.5010907@buzybee.com> <3a507685_1@dnews>

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-01 09:58:07 PST
Message-ID: <3A50C651.7070201@buzybee.com>
Date: Mon, 01 Jan 2001 10:02:57 -0800
From: Reid <reidr@buzybee.com>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20001108 Netscape6/6.0
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Combo Box's Drop Down not displaying correctly
References: <3A4CD3BA.5010907@buzybee.com> <3a507685_1@dnews>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 209.86.214.237
X-Trace: 1 Jan 2001 09:54:19 -0800, 209.86.214.237
Lines: 72
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!209.86.214.237