Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Listener for JTable

  Asked By: Cesar    Date: Jul 13    Category: Java    Views: 2069
  

I have some questions regarding JTable :

1. Can I add an ActionListener for my JTable? Say, I have this table :

Name | Age | Phone
Me | 18 | 44444
John Doe | 26 | 43535
You | 25 | 64525

and I have one JTextField below the table. Say, if my cursor in row
1, column 0 ("John Doe"), and I press "Enter" button, that JTextField
text will be "John Doe". Is this possible?? Can somebody give me the
code for this?? Please, I need this one.

2. How to remove the table grids, so user can't see it....

3. Can I print a table?? What class should I use??

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Listener for JTable Or get search suggestion and latest updates.




Tagged: