Click to See Complete Forum and Search --> : Add KeyListener to JTable's default JTextField component


May 4th, 2000, 07:35 AM
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.