A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to get the previously selected value in the combo box ?
Joined: Jan 12, 2004
Jun 09, 2004 03:52:00
How to get the previoulsy selected value in a combobox. i WANT the current and the previously selected value of the combobox.
Joined: Jul 11, 2001
Jun 09, 2004 06:45:00
There is no inherit method for doing this in the API. You simply need to manually store the values in variables.
GenRocket - Experts at Building Test Data
Joined: Apr 25, 2003
Jun 09, 2004 16:15:00
agreed, storing them in an ArrayList would work fine.
An egg is a chicken's house!
It is sorta covered in the
JavaRanch Style Guide
subject: How to get the previously selected value in the combo box ?
how do get selected value from combobox in html
JTable and combobox as the cellEditor
Select Object error
JComboBox in a JTable Cell
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014