Advertisement
Guest User

dasdsada

a guest
Mar 24th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. package Model;
  2.  
  3. import javax.swing.*;
  4. import java.awt.event.ActionEvent;
  5. import java.awt.event.ActionListener;
  6.  
  7. public class MyButton extends JFrame implements ActionListener {
  8.  
  9.  
  10. public MyButton(){
  11.  
  12. JButton button = new JButton("Evaluate!");
  13. button.setBounds(430, 500, 145, 20);
  14. this.add(button);
  15.  
  16.  
  17. }
  18.  
  19. @Override
  20. public void actionPerformed(ActionEvent e) {
  21.  
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement