Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Model;
- import javax.swing.*;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- public class MyButton extends JFrame implements ActionListener {
- public MyButton(){
- JButton button = new JButton("Evaluate!");
- button.setBounds(430, 500, 145, 20);
- this.add(button);
- }
- @Override
- public void actionPerformed(ActionEvent e) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement