I assume you're asking about JavaFX 2. If not, I suggest you upgrade :)
Try putting this in your stylesheet:
.table-view {
-fx-table-cell-border-color: transparent;
}
Or call
tableObject.setStyle("-fx-table-cell-border-color: transparent;")
In order to keep horizontal lines, I had to do the following
.table-view .table-row-cell {
-fx-border-width: 1;
}
There's probably a better way to do this, but this worked for me...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…