Highlighting and retrieving current row text of jtextarea
Hi All,
I am new to java swings.I need to build up a Java Swings GUI.If i click on a menu item "select name" from the main menu "new",a dialog box should open up.In that dialog box there should be a jtextarea and a jtextfield.In textarea i want to add few names,each name on different line and when i select a name from jtextarea that name should get highlighted and get filled up in jtextfield.Jtextfield can only have the value selected in jtextarea.
It would be great if somebody can help me on this ASAP.
Thanks in advance:)
Simmi