3.3. Enhancing the code

Here’s BasicProject’s EntryPoint class (the class that’s identified to have the onLoad method that’s called when the application loads in the user’s web browser):

It implements the EntryPoint interface and the onModuleLoad method as you’d expect. Unlike HelloWorld’s entry point, where you added a Label to the RootPanel, BasicProject’s method calls two helper methods defined in the same class to set up the user interface ...

Get GWT in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.