O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

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

There's more...

In this recipe, we showed you a basic approach to creating a web browser using the support provided by JavaFX. You can enhance this to support the following:

  • Better error handling and user messages, that is, to show whether the web address is valid or not by tracking the state change of the worker
  • Multiple tabs
  • Bookmarking
  • Storing the state of the browser locally so that the next time it is run, it loads all the bookmarks and history

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