Join Todd Perkins for an in-depth discussion in this video Swing basics, part of Up and Running with Java Applications.
- View Offline
- Exercise Files
- [Voiceover] The Swing framework enables you…to create graphical user interfaces, or GUIs,…for your Java applications.…So let's talk about the basics of Swing.…So I'm in the chapter three workspace,…and I've created a project called Swing.…Now with the source folder selected,…I'm going to go to this drop-down…which is the Swing object for creating visual classes,…so I'm clicking that toolbar, going to Swing,…and then I'm going to choose Application Window.…Now let's say I'm creating a new Swing application,…so I'm going to type out a name,…we'll just call this Basics, and I'll hit Finish,…and here's my class file.…
So if I scroll down, I can see that in the main function,…runnable object call to invokelater,…and here's what's happening inside of there.…There's some other code in the initialize method,…if you scroll down and look at that as well.…So when you actually create this class,…there's a bunch of code behind the scenes…but you can look at what it looks like visually…bu clicking the Design button at the bottom of the editor.…
- Installing Java and Eclipse
- Understanding basic Java syntax
- Handling Java errors
- Creating a UI with Swing
- Creating tables and connecting to data sources for tables
- Publishing a JAR file
- Installing NetBeans
- Creating JSP pages
- Setting up and connecting to databases
- Creating Java-based Android Studio projects
Skill Level Beginner
Java Essential Training for Studentswith Peggy Fisher3h 6m Intermediate
1. Install Java and an IDE
2. Java Basics Review
3. Create a User Interface with Swing
4. Tables and Data Sources
5. Application Distribution and Deployment
Publish a runnable JAR file2m 32s
6. Server-Side Java: JSP and Databases
7. Android Development
Next steps1m 16s
- 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.