Hi all,
The above mentioned code is pretty old one (1998), and seems to be not working as expected.
When I googled for multispan header, I found same code on various sites.
Hi All
I got the solution, few changes in GroupableTableHeader.java
Just remove setUI(..) call in constructor, instead override the setUI(..) method.
public void setUI(TableHeaderUI ui) {
super.setUI(new GroupableTableHeaderUI());
}
And it will work fine. Problem was, the over ridden paint method was not getting called previously, not it works.
When I did Google for this issue, almost all sites have this code. Credit must go to Nobuo Tamemasa Thanks Nobuo Tamemasa
░▒▒▓ ĞŨЯŨ ▓▒▒░
Back To Make Things Better
SCJP
It means our mission is in jeapordy! Quick, read this tiny ad!