Combobox and description from database
Posted on 2003-10-27
i have a table
called Color with colorid and description.
The colorid |Description
red | The color that reminds of fury.
blue | The color that reminds of sea.
yellow | The .......
If the user selects red from the combo and wants to see the description of that color he needs to press the desc button where a pop up window would pop up and gives the description of that color.
For example if he goes to red and press the desc button ,
a pop up window pops and gives this description ='
The color that reminds of fury'
I know the jdbc part but i donot how to the desc part, i mean how the database would knowi need the decrip for color red,
or when i need description for color blue