Join Todd Perkins for an in-depth discussion in this video Connect UI elements to code, part of Learning Java Applications.
- [Voiceover] Let's look at connecting…user interface elements to code.…So I'm going to start by clicking on the JButton here,…and then I'm going to drop it right below our text field.…And I'll change the text to Say Hi,…and I'll press Return on my keyboard, and there it is.…So what we want to do is type in our name…inside of the text field, and then hit Say Hi,…and then have a label display the text that we put out.…For example, I type in Todd for my name…and I click Say Hi, then it should say Hi Todd in the label.…
So let's get one more label, and drop it on the screen.…And I want to expand this to…be the width of the application window,…so we can write more text.…And then what I'm going to do is actually delete…all the text inside of this label.…And one way to do that is to select the label,…go to the properties panel and find the text property,…and delete the current text.…Press Return on my keyboard, and there is an empty label.…So let's write some code that is triggered…when we click the button.…So I'll select the button, and then I'll double click it,…
- 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
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.