I have a custom AbstractTableModel and I would like to center all the columns by default. I know this is made using TableCellRenderer but I don’t know how to implement it in my code. Here’s my class. Is this possible / a good idea or should I stick to doing it in the class where I use the JTables with
Tag: tablecellrenderer
Set row height depend on JTextArea height
I have a problem and really don’t know how to solve it. I used some solutions from this forum but they don’t work. This is the piece of code: This is little bit long but rather simple: my table uses custom cell renderer which contains JTextArea. I use JTA because I need Strings wrapping. After put such JTextAreas I expect