View Javadoc

1   package net.sourceforge.wheeler.client;
2   
3   import java.io.Serializable;
4   import java.awt.*;
5   import javax.swing.*;
6   //import org.apache.commons.logging.Log;
7   //import org.apache.commons.logging.LogFactory;
8   
9   /***
10   * Wheeler applet client.                         
11   * 
12   * <p><b>Usage:</b><code> N/A</code>
13   * 
14   * @author <a href="mailto:marcel.schepers@libereco.biz">Marcel Schepers</a>
15   * @version $Id: WheelerApplet.java,v 1.1 2004/11/08 07:16:18 mgl Exp $
16   * @since Nov 7, 2004
17   */
18  public class WheelerApplet extends JApplet implements Runnable, Serializable {
19      //private static Log log = LogFactory.getLog(WheelerApplet.class);
20      private Thread dataThread = null;       // thread collecting input data
21      private Thread graphicsThread = null;   // thread processing and displaying data
22  
23      public WheelerApplet() throws HeadlessException {
24      }
25  
26      public void destroy() {
27          super.destroy();
28      }
29  
30      public void init() {
31          super.init();
32      }
33  
34      public void start() {
35          dataThread = new Thread(this);
36          dataThread.start();
37      }
38  
39      public synchronized void stop() {
40          dataThread = null;
41      }
42  
43      public void run() {
44      }
45  
46  }