JSP :: Add Row Containing Dropdownlist?
Jun 26, 2014how to add a row that contains drop down list dynamically, for me the list is coming from database.
View Replieshow to add a row that contains drop down list dynamically, for me the list is coming from database.
View Repliesbasically I would like to know how to to the following Java. Example... Say I have one JComboBox, and it is populated with 10 items which reads from a text file ("apple","banana","kiwi","orange","grape fruit"), and the other JComboBox holds the price ($1,$2,$4, etc etc...you get the drift).
How do I make in such a way when I select for example banana from the JCombobox that it syncs the other JCombox to the correct price?
Basically syncing the two JCombobox so that you do not need to select the price yourself - it does it automatically for you.