Join Todd Perkins for an in-depth discussion in this video Radio buttons, part of Learning Java Applications (2016).
- [Voiceover] So now let's look at radio buttons.…Now radio buttons are a little bit different…from check boxes because we want the selection…to be exclusive.…In other words, the radio buttons are inside of a group.…Only one item can be selected at a time.…So I have my layout here, when I select it…you'll see that it's set to absolute…in the properties pane, and then I'm going to select…JRadioButton under components, and I'll drop one…onto the screen.…So here's my radio button there, and I'm gonna…give it the generic name of Item 1,…with Cmd-C then Cmd-V, that's Ctrl-C and Ctrl-V…on the PC.…
And I'm gonna change the text to Item 2 and 3 respectively,…so we have Item 1, Item 2, and Item 3.…So if we test the app at this point,…let's see what we get.…Now I'm prompted to save and launch,…I'm just gonna check this box to always save resources…before launching, and here's my app,…and if I select Item 1, and then I go to Item 2 or 3,…these are actually just toggle buttons.…Pretty much the same thing as a check box.…So, let's fix that.…
- 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.