
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

class Schaakbord extends JFrame implements ActionListener {

    private JButton wissen,vullen,tonen;
    private JTextArea bord;
    
    String[][] schaakbord = new String[8][8];
   

    public static void main (String[] args) {
        Schaakbord frame = new Schaakbord();
        frame.setSize(400,275);
        frame.createGUI();
        frame.show();
    }

    private void createGUI() {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        Container window = getContentPane();
        window.setLayout(new FlowLayout() );

        wissen = new JButton("Wissen");
        window.add(wissen);
        wissen.addActionListener(this);
        
        vullen = new JButton("Vullen");
        window.add(vullen);
        vullen.addActionListener(this);
        
        tonen = new JButton("Tonen");
        window.add(tonen);
        tonen.addActionListener(this);

        bord = new JTextArea(8, 20);
        window.add(bord);       

        
    }

    public void actionPerformed(ActionEvent event) {
        
       //...
    }

  


    
     
}
