This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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://kickstarter.com/rocket-mass-heater
 
subject: JTable GridLines - removing lines from certain cells