posted 8 years ago
I am using a jtable to display data in columns like a spreadsheet, but when the user is typing text in a table cell I want the enter key to create a carriage return. Does anyone know how to do this? I have tried creating my own custom TableCellRenderer but that didn't work. The enter key still just moves to the next row in the table. I would love to know who thought this would be a desired functionality.
Thanks in advance,
Robert