Learn about code snippets that are stored in the Palette window and can be dragged and dropped onto the Code Editor window to allow code to be quickly built up.
- [Instructor] I'd like to talk now…about code snippets, which is closely…related to code templates, but code snippets…are stored in the palette window,…which we have here to our right-hand side.…It can be dragged and dropped.…Now let's go ahead and create a…new project that is a Java web application.…And we'll call this Snippet…underscore web.…
Click next and finish.…Now we saw a little bit earlier in the course…that we can grab one of the items…from the palette and drag it into our HTML code.…So let's say right within body…I can insert this table.…However, I will go ahead and undo this…and want to show you how you can create your own…and to do this, we simply have to do the opposite,…which is take the text that we want to create…and then drag it into the palette itself.…
So for example, if we wanted to have…a unique title that we're always going to use,…I'll call this…a common title.…I can highlight this and move it on over here…and then give it a name in the palette.…Common title.…If I want to associate a tooltip with it,…
- 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.