Join Peggy Fisher for an in-depth discussion in this video Challenge: GUI, part of Learning Java.
- Welcome to the last challenge for this series. In this challenge, you're going to want to create a graphical user interface. You'll use NetBeans GUI Interface builder, and you'll add components to a frame. For this challenge, I'd like you to create a frame that has two panels. In the first panel, you'll add a label for first name and a text field, a label for last name, and a second text field. In the second panel, you're going to name this panel languages. Inside this panel we're going to add check boxes.
You can add as many as you'd like, but let's add some for some of the most common programming languages, such as Java, C, PHP, C++, HTML, Python, and if you have a favorite, go ahead and add that too. Finally, at the bottom of your frame add an exit button that will allow the user to exit. This is similar to the activity we did in this section, so if you have trouble, look at that first. I'm estimating this will take about 10 minutes. As always, try to have fun.
- Downloading and exploring NetBeans
- Understanding Java basics: data types, strings, arrays, and more
- Controlling flow with functions and loops
- Creating classes
- Sorting and searching arrays
- Manipulating files
- Handling errors
- Building GUIs
Skill Level Beginner
1. Getting Started
2. Java Basics
3. Flow of Control
4. Classes and Objects
5. Beyond the Basics
6. File Manipulation
7. Graphical User Interface Basics
- 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.