🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

setDataModel() for JdbComboBox

#13219
From: Tom Walker
Date: Tue, 08 Sep 1998 00:00
19 lines
1084 bytes
I'm writing a swing applet with jInternalFrames and therefore need to stick
with lightweight components.

I'm trying to use JdbComboBox, but with little success.

I'm reading the Core book on Swing, and I'm thinking I need to define the
DataModel the JdbComboBox should use.

The JdbList component must use a similar DataModel. Can I use the same for
the JdbComboBox?

If so, how would I do that.

If I'm totally off the mark, what do I need to do to display/edit data from
my database in the ComboBox. I intend to use it with validation tables (pick
lists), ie a State look-up table.

Thanks much,
Tom
Technical Details
Message-ID: <6t2ote$4c72@forums.borland.com>
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,7be3987194daf86b,start
X-Google-Attributes: gid111d45,public
From: "Tom Walker" <tom.walker@infinity-sys.com>
Subject: setDataModel() for JdbComboBox
Date: 1998/09/08
Message-ID: <6t2ote$4c72@forums.borland.com>
X-Deja-AN: 388958884
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.swing