mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.13k stars 234 forks source link

Groupable table header #680

Open mgarin opened 2 years ago

mgarin commented 2 years ago

Groupable table header is quite useful to have available out-of-the-box, so it might be worth implementing.

Here is an example of groupable table header in use (from some old code demos):

image

WebLaF header styling might also use some upgrade along with this change.

It might also be worth investigating existing solutions: https://stackoverflow.com/questions/3320278/java-swing-multiple-column-headers-in-a-jtable http://www.java2s.com/Code/Java/Swing-Components/GroupableGroupHeaderExample.htm