aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTable GridLines - removing lines from certain cells Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable GridLines - removing lines from certain cells" Watch "JTable GridLines - removing lines from certain cells" New topic
Author

JTable GridLines - removing lines from certain cells

Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
Hi there

I'm busy making a JTable and I have seen the methods for showing horizontal or vertical or all grid lines. I was wondering if I could remove specific lines from specific cells?

For example,
a | b | c
-- --- --
d | e | f
-- --- --
g | h | i

I would like to remove the gridline that appears between e and h.

Is this possible?

Many kind regards,
Rachel
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
Thanks Craig.

I'll give that a shot. These renderers seem to haunt me wherever I go!

Cheers,
Rachel

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable GridLines - removing lines from certain cells