Join Todd Perkins for an in-depth discussion in this video Scroll a table, part of Learning Java Applications.
- [Voiceover] So right now our table doesn't have a lot…of data, but let's say you didn't have enough room…in your table to accommodate the data.…So right now we have five rows right here.…And let's say I actually had a smaller table.…So I'll select my table, and I'm going to shrink it…down a little bit.…So we'll use the handle at the bottom,…bring it up to right about here.…Now I'll run the application, and I'll save it…before running it, and the data doesn't fit all the way,…and I can't even use my scroll wheel on my mouse…to scroll through.…So what do we do in these situations?…Well, you can actually wrap this inside…of a scrollable component.…
To do that, right-click a component.…And then choose surround with,…Javax.swing.jscrollpane.…So that will make thins element scrollable.…And if you look in the structure area,…you're going to see that under get content panel,…the table is now gone, but now we see scroll pane instead.…We can expand it to see that the table is actually nested…inside of the scroll pane.…
- 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.