Back to How to Create Lightweight Components
Gauge Lightweight Component Example
Your browser is completely ignoring the <APPLET> tag!
Source Code:
Gauge.java
DoubleBufferPanel.java
ExampleApplet.java
To see how this component might be written using Swing (the part of the JFC that implements a new component architecture), see this source code:
Gauge.java
ExampleApplet.java
No DoubleBufferPanel class is necessary because Swing provides one.