javafx display a border code example
Example: javafx set border outside
/* Set your border inset = to your border width! */
.button {
-fx-border-width: 2px;
-fx-border-color: lime;
-fx-border-insets: -2px;
}
/* Set your border inset = to your border width! */
.button {
-fx-border-width: 2px;
-fx-border-color: lime;
-fx-border-insets: -2px;
}