Join Peggy Fisher for an in-depth discussion in this video Frames, events, and event handling, part of Up and Running with Java.
- This section introduces the basics…for creating GUI forms using Java.…GUI, G U I, stands for Graphical User Interface,…and this allows us to create applications…that have a user-friendly front end.…The nice thing about NetBeans…is you can use a GUI builder interface.…In the project that I have open, called Contacts,…you can see that the GUI builder interface is already open.…On the right-hand side, I have a palette of all the options…that I can use to create my GUI form.…
All Java GUI applications are based on frames,…and then we use panels on top of frames…to group items on the frame.…Once we create the frame or the window,…we can then add components to the frame,…such as text fields, buttons, images, et cetera.…As you can see, I already have…a frame called ContactUI.java.…Let me show you how I created that.…If I right-click on Contacts, I can go to New > JFrame Form,…and this would create a blank form.…For this project, I already have one panel called Name,…I have two labels, First Name and Last Name,…and two text fields.…
- 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?
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.