Article View: borland.public.jbuilder.java.swing
Article #13288Re: Problem of JComboBox in dialog Box
From: Paul Furbacher
Date: Wed, 19 Aug 1998 00:00
Date: Wed, 19 Aug 1998 00:00
20 lines
1391 bytes
1391 bytes
Frantz Capiez wrote: > as Duane Edmunds, I have been playing around with a Swing Set - jComboBox > for awhile now. I can't seem to get "normal" comboBox behavior from it, > (when clicked there is no delayed drop down -- thus making it near > impossible to use the widget). > > I don't use some JBCL components (as Decorated frame). Perhaps someone can > shed some light on this. Is it possible that you have migrated an application which was initially developed using JBuilder 1? If so, you should change the "extends Dialog" to "extends JDialog". There are other changes you need to make as a consequence. this.setLayout(...); -> this.getContentPane().setLayout(...); this.add(...); -> this.getContentPane().add(...); Paul Furbacher
Technical Details
Message-ID:
<35DAD6D6.87C6A571@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6rdps8$q1k9@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3c60e60b0d3c451d X-Google-Attributes: gid111d45,public From: Paul Furbacher <pf@bilbo.bio.purdue.edu> Subject: Re: Problem of JComboBox in dialog Box Date: 1998/08/19 Message-ID: <35DAD6D6.87C6A571@bilbo.bio.purdue.edu> X-Deja-AN: 382637319 Content-Transfer-Encoding: 7bit References: <6rdps8$q1k9@forums.borland.com> To: Frantz Capiez <fcapiez@hol.fr> Content-Type: text/plain; charset=us-ascii Organization: Biological Sciences, Purdue Univ. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.swing