class construction_interface extends JFrame implements ActionListener
{
public construction_interface()
{
JPanel pan_g = new JPanel();
JPanel pan_d = new JPanel();
JPanel pan = new JPanel();
JButton bt1 = new JButton("Bouton 1");
JButton bt2 = new JButton("Bouton 2");
bt1.addActionListener(this);
bt2.addActionListener(this);