HI
I have a form with about 20 textfields on it.
I;d like to highlight the jlabel associated with the jtextfield that is in focus. That is easy enough to do,
what I am wondering is if there is a way to do this for each JTEXTFIELD/JLABEL without writing 20 different
focusevent actions.
I know for the Jbutton you can extract which button
was pressed. Is there something similar for JTextfields?
thanks.
I have a form with about 20 textfields on it.
I;d like to highlight the jlabel associated with the jtextfield that is in focus. That is easy enough to do,
what I am wondering is if there is a way to do this for each JTEXTFIELD/JLABEL without writing 20 different
focusevent actions.
I know for the Jbutton you can extract which button
was pressed. Is there something similar for JTextfields?
thanks.