import ...public class Klasse1 { public Klasse1() { ... Klasse2 moK2 = new Klasse2(...); ... Klasse3 moK3 = new Klasse3(...); moK3.start(); ... new Klasse4(...); } public static void main(String args) { Klasse1 moK1 = new Klasse1(); } public class Klasse2 extends Thread { ... class Klasse5 extends Thread { public Klasse5 () { super(); start(); } public void run() {...} } public Klasse2(...) { super(); ... start(); } public void run() { ... new Klasse5(); ... } } public Klasse4 extends Thread { public Klasse4 (...) { start(); } public void run() {...} } ... public class Klasse3 extends Thread { public Klasse3(...) { ... moK6 = new Klasse6(); ... moK7 = new Klasse7(); } public void Methode1(...) { ... moK8 = new Klasse8(); ... moK9 = new Klasse9(); ... } public class Klasse6 { ... public Klasse6() {..} ... } public class Klasse7 { ... public Klasse7() {...} ... } public class Klasse8 { ... public Klasse8(...) {...} ... } public class Klasse9 extends NotesThread { // NotesThread ist abgeleitet von Thread ... public Klasse9(...) {...} ... public void runNotes() {...} // runNotes() == run() } }}