Hello, I ran into a problem that I can’t in any way force the source from the Internet, which, as their authors say "work", make the output in the JTable table multiline.
I took for example the code from here: http://www.sql.ru/forum/707518/mnogostrochnyy-renderer-v-jtable
I add the data in the table through DefaultTableModel.
I apply the source as
table.setDefaultRenderer(String.class, new TextAreaRenderer()); For the test, you can take the table from here: http://ru.jakeroid.com/primeryi-ispolzovaniya-jtable.html .
I ask for help, as I have already rummaged everything and did not do this with multi-line output.

table.setDefaultRenderer(String.class, new TextAreaRenderer());onObject.class, if usingDefaultTableModelor constructor with arrays - zRrr