While searching over the net I came to cross MultiRowHeaderExample, which I like to embed in my application, but the code generate the JTable looks like this:Multiple row header(click on it to see the code).
and I would like to modify it according to my application requirements, which must looks like this: ModifiedMultipleRowHeaderExample (click on it to see the required JTable form)
Thou, I have hit and try but couldn't generate accurate JTable as shown in the above URL, therefore, I am enclosing code for you to help me out, or at least show me the way how to increase the column width to the accurate length of label.