O'Reilly logo

Java™ Deployment with JNLP™ and Webstart™ by Mauro Marinilli

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

Implementation

The current implementation is provided in the following sections. Check the Companion Web site for this book or the author's Web site (http://www.marinilli.com) for updates to the code provided here.

GeneralUtilities

The GeneralUtilities class is reported in Listing D.1.

It uses the following files (but it can operate even without any of them):

  • JNLP property file used to supply the same properties set by the launching JNLP file when the application is run standalone.

  • Locale-specific message bundles that are automatically loaded at initialization.

Listing D.1. The GeneralUtilities Class
 package com.marinilli.b2.ad.util; import javax.swing.ImageIcon; import java.awt.image.BufferedImage; import java.net.URL; import javax.jnlp.UnavailableServiceException; ...

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