🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

using JdbComboBox

#12485
From: Jeroen Zwartepoorte
Date: Mon, 14 Dec 1998 00:00
26 lines
1241 bytes
Hi,

How do i use a JdbComboBox????

I added it to my app, i set the dataset property and the columnname
property. But NOTHING HAPPENS when i run the app. The combobox is EMPTY!

I also can't seem to find an example on how to use it.

I remember someone else also having trouble making it work.

And second: let's say the data that i want to show in a JdbComboBox is
of the form: data1;data2;data3
(the data is in one field, with the values separated by ;)

Now, when i want to show this in a JdbComboBox, what do i have to do?

Do i need to write my own ComboBoxModel?

I looked at the JdbComboBox source, but i didn't understand how it get's
the data from the dataset.

Hope you can help me,

Jeroen Zwartepoorte
Jeroen@xs4all.nl
Technical Details
Message-ID: <3674E09D.5F0EF8E8@xs4all.nl>
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,d70ee309a476f00b,start
X-Google-Attributes: gid111d45,public
From: Jeroen Zwartepoorte <Jeroen@xs4all.nl>
Subject: using JdbComboBox
Date: 1998/12/14
Message-ID: <3674E09D.5F0EF8E8@xs4all.nl>
X-Deja-AN: 422071883
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing