O'Reilly logo

Eclipse Rich Client Platform: Designing, Coding, and Packaging Java™ Applications by Jean-Michel Lemieux, Jeff McAffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Adding a Login Dialog

At the end of Chapter 10, “Messaging Support,” you hard-coded a login server and account so that you could test the newly enabled Hyperbola prototype. That was great for testing, but clearly not realistic. In this chapter, we walk through the creation and use of a login dialog and configuring Hyperbola to automatically log you in when it is started. In addition, we talk about how to:

  • Display a login dialog before the Workbench starts.

  • Ensure that the Hyperbola application’s branding icon is shown on the dialog.

  • Manually take down the splash screen before showing the login prompt.

  • Add a preference page.

  • Remember login preferences.

Adding the Login Dialog

The first thing to decide when adding a login prompt to an application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required