Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2294
| Newsgroups | comp.lang.java.help |
|---|---|
| Date | 2012-11-29 13:17 -0800 |
| References | <9b70426c-e378-4852-bc77-fc67440a93ef@googlegroups.com> |
| Message-ID | <ef7d26ea-68b5-469f-9820-f0cdf79888d8@googlegroups.com> (permalink) |
| Subject | Re: How to implement jcombobox with name value pair from database? |
| From | kedward777@gmail.com |
Perfect! Thank YOU Knute! You rock! On Thursday, November 29, 2012 12:14:12 PM UTC-5, rogerdoger777 wrote: > Hello, > > > > I have database values for name and employee id: > > John 123 > > David 222 > > Kevin 444 > > > > In my app I have the employee id, and I need to update the jcombobox to make the person with employee id 222 the selected item.... HOW? > > > > mycombobox.setSeletedIndex(222) should return David, but instead it returns the 222nd array element in the pull down.... > > > > Thanks for any and all help!
Back to comp.lang.java.help | Previous | Next — Previous in thread | Find similar | Unroll thread
How to implement jcombobox with name value pair from database? rogerdoger777 <kedward777@gmail.com> - 2012-11-29 09:14 -0800
Re: How to implement jcombobox with name value pair from database? kedward777@gmail.com - 2012-11-29 11:21 -0800
Re: How to implement jcombobox with name value pair from database? Roedy Green <see_website@mindprod.com.invalid> - 2012-12-04 18:08 -0800
Re: How to implement jcombobox with name value pair from database? Knute Johnson <nospam@knutejohnson.com> - 2012-11-29 12:55 -0800
Re: How to implement jcombobox with name value pair from database? Lew <lewbloch@gmail.com> - 2012-11-29 13:12 -0800
Re: How to implement jcombobox with name value pair from database? Knute Johnson <nospam@knutejohnson.com> - 2012-11-29 15:05 -0800
Re: How to implement jcombobox with name value pair from database? Lew <lewbloch@gmail.com> - 2012-11-29 16:08 -0800
Re: How to implement jcombobox with name value pair from database? kedward777@gmail.com - 2012-11-29 13:17 -0800
csiph-web