How to create a JTable without vertical and horizontal lines in it...
Try playing around with setShowGrid(), setShowVerticalLines() and setShowHorizontalLines()
setShowVerticalLines()
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);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With