Advertisement
Guest User

dfad

a guest
Jan 22nd, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package week03gui;
  7.  
  8. /**
  9. *
  10. * @author na8363c
  11. */
  12. import java.awt.FlowLayout;
  13. import java.awt.event.ActionEvent;
  14. import java.awt.event.ActionListener;
  15. import java.awt.event.KeyEvent;
  16. import java.awt.event.KeyListener;
  17. import javax.swing.JFrame;
  18. import javax.swing.JPanel;
  19.  
  20.  
  21. public class Week03GUI extends JFrame implements ActionListener, KeyListener {
  22.  
  23. /**
  24. * @param args the command line arguments
  25. */
  26.  
  27. public static void main(String[] args) {
  28. Week03GUI prg = new Week03GUI();
  29. JPanel wndw = new JPanel(new FlowLayout());
  30. }
  31. public Week03GUI() {
  32. model();
  33. view();
  34. controller();
  35. }
  36.  
  37. @Override
  38. public void actionPerformed(ActionEvent e) {
  39. System.out.println("${method_name} not coded yet."); //To change body of generated methods, choose Tools | Templates.
  40. }
  41.  
  42. @Override
  43. public void keyTyped(KeyEvent e) {
  44. System.out.println("${method_name} not coded yet."); //To change body of generated methods, choose Tools | Templates.
  45. }
  46.  
  47. @Override
  48. public void keyPressed(KeyEvent e) {
  49. System.out.println("${method_name} not coded yet."); //To change body of generated methods, choose Tools | Templates.
  50. }
  51.  
  52. @Override
  53. public void keyReleased(KeyEvent e) {
  54. System.out.println("${method_name} not coded yet."); //To change body of generated methods, choose Tools | Templates.
  55. }
  56.  
  57. private void model() {
  58. System.out.println("${method_name} not coded yet."); //To change body of generated methods, choose Tools | Templates.
  59. }
  60.  
  61. private void view() {
  62. System.out.println("${method_name} not coded yet."); //To change body of generated methods, choose Tools | Templates.
  63. }
  64.  
  65. private void controller() {
  66. System.out.println("${method_name} not coded yet.");
  67. }
  68.  
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement