[jboss-user] [Javassist user questions] - please help!!!
Panzer_Kavalier
do-not-reply at jboss.com
Sat Aug 19 04:29:55 EDT 2006
Class Test implements Runnable
{
public void one(){
{
System.out.println("Thread start");
Thread tt = new Thread(this);
tt.start();
}
}
--------------------------------------------
I want to change the above code to this:
Class Test implements Runnable
{
public void one(){
{
System.out.println("Thread start");
MyThread tt = new MyThread(this);
tt.start();
}
}
the MyThread isn't the instace of Thread!! ,but it has the start method!
class MyThread
{
MyThread(Runnable _runnable)
{
}
public void start()
{
}
}
-----------------------------------------
how to do it? pleases help me!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966225#3966225
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966225
More information about the jboss-user
mailing list