How to set grid line color in CSS?

Mark Bulthuis mark.bulthuis at
Mon Dec 17 05:42:45 PST 2012


It seems simple. Create a GridPane and add css property to define the color of the lines,

If you take a look at the source of GridPane, method createGidline,  a constant GRID_LINE_COLOR is used:
private static final Color GRID_LINE_COLOR = Color.rgb(30, 30, 30);

All these methods are private.

Can someone tell me what to do?


More information about the openjfx-dev mailing list