Created
February 5, 2010 16:43
-
-
Save mrcaron/295948 to your computer and use it in GitHub Desktop.
Creating a jfxtras Grid in JFX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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