Results 1 to 5 of 5
- 03-16-2011, 11:58 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
JTable don't display single Gridline
So I am trying to 'get rid' of a single gridline in a JTable. it would also be okay if I could change the color of that line to the background color. I have no idea how to do so... was looking through other forums but didn't find any good idea...
Thanks for the help.
- 03-16-2011, 12:16 PM #2
I'm not exactly sure what you're asking, so you could be looking for a few different things.
Perhaps this: JTable (Java Platform SE 6)
Or perhaps you should use a custom Renderer?How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 03-16-2011, 12:20 PM #3
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
...setShowHorizontalLines(false) is not exactly what I am looking for. I actually want that the JTable doesn't display a single grid-line not none of them. But I guess I will have to do it with a renderer then. Thx..
- 03-16-2011, 12:40 PM #4
As you were told on the Oracle forums.But I guess I will have to do it with a renderer
OTN Discussion Forums : JTable gridlines ...
db
- 03-16-2011, 04:15 PM #5
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
JTable Gridline in selected row
By arubin in forum AWT / SwingReplies: 11Last Post: 11-24-2009, 07:05 PM -
JButton to display JTable
By Nemesis777 in forum New To JavaReplies: 0Last Post: 12-08-2008, 12:16 PM -
Display XML in JTable
By boy22 in forum XMLReplies: 2Last Post: 12-07-2008, 06:03 PM -
Creating a tabbed display with a single tab
By Java Tip in forum SWTReplies: 0Last Post: 07-07-2008, 04:44 PM -
display rows in jtable
By osval in forum AWT / SwingReplies: 1Last Post: 08-06-2007, 08:54 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks