Skip to content

Instantly share code, notes, and snippets.

@mrcaron
Created February 5, 2010 16:43
Show Gist options
  • Save mrcaron/295948 to your computer and use it in GitHub Desktop.
Save mrcaron/295948 to your computer and use it in GitHub Desktop.
Creating a jfxtras Grid in JFX
/* Creating an org.jfxtras.scene.layout.Grid */
public class MyGrid extends CustomNode {
override function create(): Node {
Grid {
rows: [
Row{
cells: [Text {content: "Username:"}, TextBox {}]
},
Row{
cells: [Text {content: "Password:"}, TextBox {}]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment