File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Need Help in Modification MultiRowHeaderExample    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Need Help in Modification MultiRowHeaderExample    " Watch "Need Help in Modification MultiRowHeaderExample    " New topic

Need Help in Modification MultiRowHeaderExample

mustafa bamboat

Joined: May 22, 2005
Posts: 8

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.

=================== Modified MultipleRowHeaderExample Code================


Hope fully waiting and forward looking for a kind response


[ May 29, 2007: Message edited by: mustafa bamboat ]

[ UD: added code tags ]
[ June 01, 2007: Message edited by: Ulf Dittmer ]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Moving to the AWT/Swing/GUI forum, as there seems to be nothing applet-specific about the question.
I agree. Here's the link:
subject: Need Help in Modification MultiRowHeaderExample
It's not a secret anymore!