Learn about creating a GridPane and assets for the sign-in form. The instructor uses a GridPane layout because it enables you to create a flexible grid of rows and columns in which to lay out controls. You can place controls in any cell in the grid, and y
- [Instructor] For the sign-in form,…we're going to use the GridPane layout…because it enables you to create a flexible grid…of rows and columns in which to lay out controls.…You can place these controls in any cell in the grid…and you can make controls span cells as needed.…Now I'm going to go ahead and paste in the code…to create the GridPane right over here.…Before primaryStage.show,…and after setting the title.…
Now we're going to go ahead and walk through this,…but the first thing that I want to point out…is that the squiggly red line is indicating…that we need to import the necessary namespaces.…So for example here, if I click on the bulb…it gives me the option to fix this error,…and the first thing that I know that I need…is to import the GridPane namespace.…And when I do that it'll go away…because it would have imported it,…as you can see on line 13.…
And the same is going to go for line 28 and line 31.…However, I already know all the namespaces that I need…but I did want to at least show you that.…So I'm going to paste in the namespaces that are required…
- What is NetBeans?
- Creating templates
- Importing and exporting projects
- Debugging code
- Creating a project
- Creating a GridPane layout
- Creating the UI
- Deploying and executing an app
- Organizing the environment
Skill Level Beginner
1. Intro to NetBeans
2. Templates, Projects, and Debugging
3. Managing Services
4. Desktop Development: JavaFX
5. Web Development - PrimeFaces
6. Working with Clean Code
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.