🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JCombo Box does not open

#9030
From: Martin Zwosta
Date: Mon, 05 Jun 2000 00:00
21 lines
1487 bytes
Hello everybody,

I simply want to design a JComboBox with the GUI-Builder and want to
display some strings in it for selection. The ComboBox actually works,
which means I can change its values by keyboard and can get the selected
items. But the box does not open when I click on the small arrow or the
box itself ??!!
I left the default constructor and added the items with "addItem", I
also created an String-array and invoked the constructor to implement an
String array on the JComboBox, both times the same result: the box
works, but won't open. I also changed the look & feel, no result. I can
write my own little program to display a JComboBox and it opens up on
mouseclick, but when I try to add a JComboBox to the Window that the GUI
- Builder constructed by hand -coding it fails: results s.a..

I'm getting really puzzled. Is there any small thing or something alike
that I miss?

Help is very much appreciated and thanks a lot in advance,

Martin
Technical Details
Message-ID: <393BA072.34CB39BB@t-online.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,68a30d08003fcdf9,start
X-Google-Attributes: gid111d45,public
From: Martin Zwosta <m.zwosta@t-online.de>
Subject: JCombo Box does not open
Date: 2000/06/05
Message-ID: <393BA072.34CB39BB@t-online.de>
X-Deja-AN: 631258091
Content-Transfer-Encoding: 7bit
X-Accept-Language: de
Content-Type: text/plain; charset=us-ascii
X-Trace: 5 Jun 2000 05:34:49 -0800, 127.0.0.1
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing