hi i have created a vector with three elements salaried employee, nonsalaried employee and directors i have also created text field using swing also lable which there details i.e. there name, payroll number,etc and i want to know i can insert the data from the vector in to the text fields any help would be greatfull
Using the setText(String) method of JTextField and the element in the vector needs to override the toString() to return a String (maybe their name or their title)
if your textfield is also an array, then
Everybody! Do the Funky Monkey! Like this tiny ad!
a bit of art, as a gift, the permaculture playing cards