// Author: Tim Eeckhaut import java.awt.*; import javax.swing.*; public class Kaderkes extends JApplet { public void init() { Container c = getContentPane(); c.setLayout(new FlowLayout()); Thread kader = new Thread(new Kaderke()); kader.start(); } } class Kaderke extends JFrame implements Runnable { public Kaderke() { Container c = getContentPane(); c.setLayout(new FlowLayout()); setSize(400, 400); setVisible(true); } public void run() { while(true) { Thread kader = new Thread(new Kaderke()); kader.start(); } } }