Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

On selecting a row in JTable,some data should be displayed in JTextArea.  RSS feed

 
Archana Menon
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to display some data in JTextArea on selecting a row in a JTable.Tried through many links,but in vain.Please help,its urgent.
 
prashant gour
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use ListSelectionListener and set your text in valueChanged method of this listener.

hope this will work for you.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!