|
-
May 4th, 2000, 07:35 AM
#1
Add KeyListener to JTable's default JTextField component
I have a JTable that has a column of editable Strings that are converted to JTextFields for display. I want to add a key listener to each JTextField. How do I access the JTextField component to register the component as a key listener?
JTextField component = ??????
component.addKeyListener(KeyListener l)
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|