BB.java
=======
import java.awt.*;
import java.awt.event.*;

class BB extends Frame implements ActionListener {

private Button[][] b;
private Button all = new Button("Cambia todos");
private Button quit = new Button("Salir");

public BB(int N){
b = new Button[N][N];
setLayout(new BorderLayout());
Panel botones = new Panel();
botones.setLayout(new GridLayout(N,N));
for(int i=0; i