🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JdbComboBox's look problem

#10766
From: David Vásquez Estrada
Date: Mon, 09 Aug 1999 00:00
20 lines
1145 bytes
Hi,

I am using JBuilder3 and JDK 1.2.

When I link a JdbComboBox component to a dataset, the drop down take the
width of the largest dataset field. I�ve tried to modify the width using
the setDropDownWidth(...) method, but it looks ugly (a bicolor drop
down).

How can I avoid this problem (the bicolor drop down).?

I�ve tried using "setUI(new BasicComboBoxUI())" but this corrupts the
normal UP and DOWN keypressed behavior of the JdbComboBox.

I need the same behavior of a JdbNavComboBox but I also need to edit the
content of the related dataset.

thanks in advance

David
Technical Details
Message-ID: <37AF5516.4E3C5ED7@ucbcba.edu.bo>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,3b99bfccffd7a30e,start
X-Google-Attributes: gid111d45,public
From: David Vásquez Estrada <vasquezd@ucbcba.edu.bo>
Subject: JdbComboBox's look problem
Date: 1999/08/09
Message-ID: <37AF5516.4E3C5ED7@ucbcba.edu.bo>
X-Deja-AN: 510817265
Content-Transfer-Encoding: 8bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing