I have this class for creating a thread in Java
package org.vdzundza.forms; import java.awt.Graphics; import java.awt.Graphics2D; public class DrawThread exten
There are two Objects involved, the DrawThread object that contains the run method, and the new Thread created using it as the Runnable.
this.getName obtains the name of the unstarted DrawThread. The current thread is the one you started.