/** * HF Receiver Controller Applet 1.0.0 * @author Robert J Morton YE572246C * @version 25 November 2001, revanped 16 November 2007, * Swing Version 31 January 2012 * @copyright Robert J Morton (all rights reserved) */ /* This is the Applet's background image panel */ import javax.swing.*; // the Swing GUI system import java.awt.*; // abstract windiwing toolkit public class worldmap extends JPanel { hfbrx_swing hf; // reference to the main applet class worldmap(hfbrx_swing hf) { this.hf = hf; } // constructor // Draw the background image onto the applet canvas. public void paint(Graphics g) { g.drawImage(hf.IMG1,0,0,this); } }