JApplet « Button « Java Swing Q&A





1. Java - Adding JButton to JApplet    stackoverflow.com

I am trying to add a JButton Array to my GridLayout but it seems not to be working. Probably a rookie mistake -- what am I doing wrong?

import java.awt.*;
import java.applet.Applet;
import javax.swing.*;
public class ...