Complex UI components can be easily created and added to a dynamic HTML application with only a few lines of Java. Kyle will demonstrate how to add widgets to panels and panels to the page with a few examples.
- [Instructor] In the previous lesson we briefly touched…on UI panels and UI widgets.…Now let's experiment a bit and add a few more panels…and widgets to the bottom of this page.…We'll add them just before the dialog box.…For this demonstration I want to build a simple survey…of one question for my audience…and ask them, ask you how you like the course so far.…We'll begin with creating the components of the survey…and then adding them to a panel,…and finally add that panel to the bottom of the RootPanel.…Right, the survey components.…
Let's begin with a Label for the question.…We'll call this Label question.…And create a Label widget that takes in the question.…So this constructor will take in the text…and apply it to the Label.…Now that we have the question we need some responses.…For the responses I think I'll use three buttons.…One that says love it, it's okay, or it's a disaster.…
So let's create those widgets.…Like the Label constructor,…the Button constructors also have overloaded constructors…that take in a parameter to label the Button.…
In this course, learn how to build high-performance, browser-based apps using GWT. Kyle Gower-Winter introduces you to GWT, explaining the benefits of using this toolkit to build dynamic web pages. To help you practice what you learn, he shows how to build a simple foreign exchange rate application. Plus, Kyle covers managing AJAX events on the client, handling UI action events, debugging code, and more.
- Creating and running a GWT application
- Working with GWT widgets and UiBinder
- Manage AJAX events on the client
- Using a GWT RequestBuilder object
- Debugging in the browser
- Setting breakpoints and inspecting variables
- Running locally in production mode
Skill Level Intermediate
Building Web Applications with Ajaxwith Sasha Vodnik1h 31m Intermediate
Java: Build Automation with Mavenwith Peggy Fisher1h 24m Intermediate
1. Create and Run a GWT Application
2. GWT Widgets and UiBinder
3. Manage AJAX Events on the Client
4. Debugging in the Browser
5. Run Locally in Production Mode
- 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.