Extending more classes..
I Am aware of the fact that I cannot extend more than one class to a file.. But I would like to be able to use both threads and framework.. Is there any way to go around and make it possible..?
[200 byte] By [
sniper83a] at [2007-11-27 8:26:45]

> Implement you say.. Do you mean like this:
>
> > public class test extends javax.swing.JFrame {
>implements Thread;
No, that's not the right syntax, read this:
http://java.sun.com/docs/books/tutorial/java/concepts/interface.html
public class Foo implements Runnable extends Framework {
public void run(){
//just like implementing thread's run method
}
public static void main(String[] arrrrrrrrrrrrrrrrrgs){
new Thread(new Foo()).start();
}
}
Thanks, but now I'm even more confused I think.. Do you mean that I should make an interface for the functions in the GUI and then implement this into my GUI-function.. But what does that help me.. I don't follow... :/Sorry to be difficult..