new JavaFX BorderPane - Java JavaFX

Java examples for JavaFX:BorderPane

Description

new JavaFX BorderPane

Demo Code


//package com.java2s;

import javafx.geometry.Insets;

import javafx.scene.layout.BorderPane;

public class Main {
    public static BorderPane newBorderPane(Insets insets) {
        final BorderPane pane = new BorderPane();
        pane.setPadding(insets);/* w  w w  .  jav a2s  .co  m*/
        return pane;
    }
}

Related Tutorials