import javax.swing.*; import java.awt.*; public class EditorApplet extends JApplet { public void init() { Container contentPane = getContentPane(); EditorInternalFrame frame = new EditorInternalFrame(this); frame.setSize(640, 480); frame.show(); contentPane.add(frame); } }