1

JTable and JXTables have a header cell that is generated above the scrollbar. It's a small cell but I would like to use it to render an icon and popup menu. How might I access this header cell?

Thanks

mKorbel
  • 109,525
  • 20
  • 134
  • 319
LDAdams
  • 682
  • 4
  • 18

1 Answers1

2

In JXTable, the property to set is the columnControl: basically, it can be any component you like. To keep the functionality of the default, you can subclass ColumnControlButton

kleopatra
  • 51,061
  • 28
  • 99
  • 211