All Packages Class Hierarchy This Package Previous Next Index
Class MyPackage.MyThread
java.lang.Object
|
+----java.lang.Thread
|
+----MyPackage.MyThread
- public class MyThread
- extends Thread
This class implements the Thread functionality need for the interface
- Version:
- 1.0
- Author:
- Vicky Shiv
-
color
- Varible to store the Color associated with the Thread
-
parent
- Varible to store the Object Reference from which This thread is Invoked
-
MyThread()
- Default Constructor
-
MyThread(MyApplet, Color)
- Constructor with two arguments
-
run()
- Run Method for the Thread
parent
private MyApplet parent
- Varible to store the Object Reference from which This thread is Invoked
color
private Color color
- Varible to store the Color associated with the Thread
MyThread
public MyThread()
- Default Constructor
MyThread
public MyThread(MyApplet obj,
Color j)
- Constructor with two arguments
- Parameters:
- MyApplet - Reference to the Applet which call this constructor
- Color - Color associated with the Thread
run
public void run()
- Run Method for the Thread
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index