How to create a JTable without vertical and horizontal lines in it...
+7
A:
Try playing around with setShowGrid()
, setShowVerticalLines()
and setShowHorizontalLines()
Sets whether the table draws vertical lines between cells. If showVerticalLines is true it does; if it is false it doesn't.
Examples:
table.setShowGrid(false);
table.setShowVerticalLines(false);
table.setShowGrid(false);
table.setShowHorizontalLines(false);
Bakkal
2010-07-20 07:16:21