List of usage examples for javafx.scene.control Separator setMouseTransparent
public final void setMouseTransparent(boolean value)
From source file:io.bitsquare.gui.main.overlays.Overlay.java
protected void addSeparator() { if (headLine != null) { Separator separator = new Separator(); separator.setMouseTransparent(true); separator.setOrientation(Orientation.HORIZONTAL); separator.setStyle("-fx-background: #ccc;"); GridPane.setHalignment(separator, HPos.CENTER); GridPane.setRowIndex(separator, ++rowIndex); GridPane.setColumnSpan(separator, 2); gridPane.getChildren().add(separator); }// w w w. j a v a 2 s . co m }