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

An Example Application

As a recapping example of what said, let's take a look at Listing 11.10, in which an application uses many of the things discussed in this chapter. As we can see, we are constantly moving toward a full-fledged application, such as the one presented in Chapter 13.

Listing 11.10. A Recapping Example of JNLP Runtime Services at Work
 package com.marinilli.b2.c11; import com.marinilli.b2.c11.util.*; import javax.swing.*; import java.awt.event.*; import javax.jnlp.*; import java.net.URL; import java.io.*; import java.util.Iterator; import java.awt.*; /** * Chapter 11 A test application * @author Mauro Marinilli * @version 1.0 */ public class AnApplication extends JFrame { JPanel centerPanel = new JPanel(); JButton pasteButton ...

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