Java Applets With Swing

A Hello World Swing Applet

import javax.swing.*;
import java.awt.*;

public class HelloWorldSwingApplet extends JApplet {
    public void init() {
        getContentPane().add(new JLabel(""));
To download source right-click here and "Save As...".
Run the Applet in a new window

Sign in to be the first to comment on Java Applets With Swing.