Java Reference
In-Depth Information
F IGURE 13.3
The drawing editor add-on opened by a user's double-click on the draw after first-download authorization.
F IGURE 13.4
The application “about” dialog box.
In the proposed about box, the interesting aspect (apart from the URL-like component that will
bring up a Web browser pointing to that page that we presented in Chapter 11, “Runtime
Client Services”) is the listing of the currently installed modules. This is achieved by another
component, a simple subclass of the JTable Swing class, detailed in Listing 13.3.
L ISTING 13.4 The AboutDialog Class
package com.marinilli.b2.c13.util;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
import java.awt.event.*;
import java.util.*;
import com.marinilli.b2.c11.util.JNLPLabel;
/**
Search WWH ::




Custom Search