Results 1 to 4 of 4
Thread: Jtable and JTextField
- 08-14-2011, 05:13 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 10
- Rep Power
- 0
-
You can get the table's selection model by calling getSelectionModel() on the JTable, and then add a ListSelectionListener to the model:
This is spelled out in the JTable section of the swing tutorials: How to use JTablesJava Code:table.getSelectionModel().addListSelectionListener(....);
- 08-14-2011, 05:34 PM #3
Member
- Join Date
- Jul 2011
- Posts
- 10
- Rep Power
- 0
Tnx , can you give me a reference because i'm beginner in java
-
Similar Threads
-
JTable vs JTextField - which to use for creating "Search" screen
By tashimoto in forum AWT / SwingReplies: 6Last Post: 11-19-2010, 07:44 PM -
how to access jTextField of one JFrame1 from JFrame2 & Modify JTextField contents
By sumit1mca in forum AWT / SwingReplies: 1Last Post: 01-30-2009, 06:44 PM -
JtextField
By kashifu in forum Advanced JavaReplies: 2Last Post: 06-27-2008, 04:25 PM -
Jtable duplicates through Hashtable (JTable condition problem) my assignment plz help
By salmanpirzada1 in forum Advanced JavaReplies: 2Last Post: 05-15-2008, 10:15 AM -
help with JTextfield
By gary in forum New To JavaReplies: 4Last Post: 07-11-2007, 01:58 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks