组布局面板
替换 JavaFX 中 Swing 的 。 需要 Java 8。
用法示例:
GroupLayoutPane root = new GroupLayoutPane ();
root . setPadding( new Insets ( 5 ));
StackPane n1 = new StackPane ();
n1 . setStyle( " -fx-background-color: red " );
StackPane n2 = new StackPane ();
n2 . setStyle( " -fx-background-color: green " );
StackPane n3 = new StackPane ();
n3 . setStyle( " -fx-background-color: blue " );
root . getChildren()
评论0
最新资源