What doc are you reading for the JComboBox class? Did you see any methods with names starting with get?
Can you explain what "won't work"?
Type: Posts; User: Norm
What doc are you reading for the JComboBox class? Did you see any methods with names starting with get?
Can you explain what "won't work"?
Look at the doc for the JComboBox: what method will tell you which item was selected
and for the textfield: what method will set its value.
pseudo code:
if(selected item is #1) {
set textfield to 24 hrs
}
Can you explain? Do you get errors? Please copy and paste full text of the error message here.