Graphen/ButtonAAAAAction.java

14 lines
312 B
Java

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class ButtonAAAAAction implements ActionListener
{
private String text;
public ButtonAAAAAction(String t){
this.text = t;
}
public void actionPerformed(ActionEvent e){
System.out.println(this.text);
}
}