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 ...

Get Eclipse Rich Client Platform: Designing, Coding, and Packaging Java™ Applications 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.