Article View: borland.public.jbuilder.java.swing
Article #10579Re: JdbComboBox's look problem
From: David Vásquez Estrada
Date: Fri, 27 Aug 1999 00:00
Date: Fri, 27 Aug 1999 00:00
32 lines
1542 bytes
1542 bytes
Hi, > Do you have a solution to this? A solution is to create a class combo that extends the JDbComboBox, and you must implement the keyboard listeners. > David V�squez Estrada wrote in message <37AF5516.4E3C5ED7@ucbcba.edu.bo>... > >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:
<37C6B772.E7D35E8C@ucbcba.edu.bo>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37AF5516.4E3C5ED7@ucbcba.edu.bo> <7q3009$nqr3@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,3b99bfccffd7a30e X-Google-Attributes: gid111d45,public From: David Vásquez Estrada <vasquezd@ucbcba.edu.bo> Subject: Re: JdbComboBox's look problem Date: 1999/08/27 Message-ID: <37C6B772.E7D35E8C@ucbcba.edu.bo> X-Deja-AN: 517846099 Content-Transfer-Encoding: 8bit References: <37AF5516.4E3C5ED7@ucbcba.edu.bo> <7q3009$nqr3@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing