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

Get Java™ Deployment with JNLP™ and Webstart™ 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.