Hallo,
public class TreeTableExample0
extends java.applet.Applet {
Ein java.applet.Applet ist als Container für Swing-Components nicht geeignet. Dafür gibt es javax.swing.JApplet.
public void init() {
JFrame frame = new JFrame("TreeTable");
Ein Applet ist ein Panel. Das ist der Container für alle Elemente im Applet. Ein Frame gehört nicht zu diesen Elementen.
Schau mal hier:
http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html
und zum Einbinden hier:
http://java.sun.com/docs/books/tutorial/uiswing/start/swingApplet.html
viele Grüße
Axel