🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Preferred Event listener for jTabbedPane?

#422
From: Kevin Dean [TeamB]
Date: Thu, 05 May 2005 17:32
32 lines
2222 bytes
Magnus wrote:

> Thanks Kevin
> 
> The values in tab1 will be stored in an external SQL-DB and (at least
> I planned to) fill my ComboBox from that table.
> 
> Can I still work with a Model?
> If so, do you have any examples/tutorials that can guide me?

If the combo box is going to be used to fill a field in another
database table, consider using dbSwing instead and setting the pickList
property to do the lookup.  That probably sounds a little confusing,
but check "Developing Database Applications" in the JBuilder online
help for instructions and numerous tutorials.

Here's a link to a sample ComboBoxModel:

http://www.sol-plus.com/customcomboboxmodel.html

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0e1w26f1u8hlq000-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42796743$1@newsgroups.borland.com> <xn0e1vud81jnfp6001-kdean@www.teamb.com> <427a1bc2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,39af497ef65f112c
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Preferred Event listener for jTabbedPane?
Newsgroups: borland.public.jbuilder.java.swing
References: <42796743$1@newsgroups.borland.com> <xn0e1vud81jnfp6001-kdean@www.teamb.com> <427a1bc2@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.4.1
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr
 p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0e1w26f1u8hlq000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000001AF
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 24.57.153.235
Date: 5 May 2005 10:32:15 -0700
X-Trace: newsgroups.borland.com 1115314335 24.57.153.235 (5 May 2005 10:32:15 -0700)
Lines: 32
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail