I've a dropdown filled with data , a textfield and a button . as soon as i click on button I get the index of the list item selected. i need value ( displayed text indeed).
my code is ... ////
public String button1_action() { // User event code here... textField1.setValue("Hello , "+ dropdown1.getValue());
return null; } //// any change in the code ???
Thanks .
Darrin Smith
Ranch Hand
Joined: Aug 04, 2003
Posts: 276
posted
0
Originally posted by Naveen Mishra: Hi. this is my day 1 with Sun Java Stdio Creator.
I've a dropdown filled with data , a textfield and a button . as soon as i click on button I get the index of the list item selected. i need value ( displayed text indeed).
my code is ... ////
public String button1_action() { // User event code here... textField1.setValue("Hello , "+ dropdown1.getValue());