Search code examples
javaswingjtablejtableheader

Is possible to associate a text to a JTableHeader without a table?


I want to create a JTable with a header inside some cells. But I want to associate a text with this header. Is it possible? How to do?

All my best! Leandro Lima


Solution

  • I only way to do it I found was to create a table, without cells and with a column with a header title. So I get this header and put it inside other table by cell renderer.