Advertisement
Ivan_Bochev

Mark Evans

Apr 11th, 2019 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.83 KB | None | 0 0
  1. package inazuma;
  2.  
  3. import java.awt.*;
  4.  
  5. import javax.swing.*;
  6. import java.awt.event.ActionListener;
  7. import java.awt.event.ActionEvent;
  8.  
  9. public class MarkEvans {
  10.  
  11.     private JFrame frame;
  12.  
  13.     /**
  14.      * Launch the application.
  15.      */
  16.     public void MarkEvanss() {
  17.         EventQueue.invokeLater(new Runnable() {
  18.             public void run() {
  19.                 try {
  20.                     MarkEvans window = new MarkEvans();
  21.                     window.frame.setVisible(true);
  22.                 } catch (Exception e) {
  23.                     e.printStackTrace();
  24.                 }
  25.             }
  26.         });
  27.     }
  28.  
  29.     /**
  30.      * Create the application.
  31.      */
  32.     public MarkEvans() {
  33.         initialize();
  34.     }
  35.  
  36.     /**
  37.      * Initialize the contents of the frame.
  38.      */
  39.     private void initialize() {
  40.         frame = new JFrame();
  41.         frame.setTitle("Mark Evans");
  42.         frame.setBounds(70, 10, 582, 653);
  43.         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  44.         frame.getContentPane().setLayout(null);
  45.  
  46.         JLabel label = new JLabel("Mark Evans");
  47.         label.setFont(new Font("Tahoma", Font.PLAIN, 20));
  48.         label.setBounds(231, 10, 107, 23);
  49.         frame.getContentPane().add(label);
  50.  
  51.         String me = "<html><p align=justify>Mark Evans is the goalkeeper, defender, and captain of the Raimon Eleven and Inazuma Japan. He is also the grandson of David Evans, who was the coach of the legendary Inazuma Eleven. Mark is described as a soccer loving, cheerful goalkeeper.</p><br><p align=justify>He's the kind of person who never gives up and always thinks of others in front of you. Because a positive personality, one who attracts people from Even if the enemy.</p></html>";
  52.         JLabel lblNewLabel = new JLabel(me);
  53.         lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 16));
  54.         lblNewLabel.setBounds(20, 17, 203, 420);
  55.         frame.getContentPane().add(lblNewLabel);
  56.  
  57.         JLabel lblNewLabel_1 = new JLabel("");
  58.         lblNewLabel_1.setIcon(new ImageIcon("C:\\Users\\USER\\Downloads\\Inazuma11\\Mark Evans.png"));
  59.         lblNewLabel_1.setBounds(263, 50, 285, 474);
  60.         frame.getContentPane().add(lblNewLabel_1);
  61.  
  62.         JButton btnNewButton = new JButton("Back");
  63.         btnNewButton.addActionListener(new ActionListener() {
  64.             public void actionPerformed(ActionEvent arg0) {
  65.                 Inazuma11 window = new Inazuma11();
  66.                 window.frame.setVisible(true);
  67.                 frame.setVisible(false);
  68.             }
  69.         });
  70.         btnNewButton.setFocusPainted(false);
  71.         btnNewButton.setFont(new Font("Tahoma", Font.PLAIN, 14));
  72.         btnNewButton.setBounds(263, 570, 89, 23);
  73.         frame.getContentPane().add(btnNewButton);
  74.  
  75.         JButton btnNewButton_1 = new JButton("Next");
  76.         btnNewButton_1.addActionListener(new ActionListener() {
  77.             public void actionPerformed(ActionEvent e) {
  78.                 AxelBlaze ab = new AxelBlaze();
  79.                 ab.AxelBlazee();
  80.                 frame.setVisible(false);
  81.             }
  82.         });
  83.         btnNewButton_1.setFocusPainted(false);
  84.         btnNewButton_1.setFont(new Font("Tahoma", Font.PLAIN, 14));
  85.         btnNewButton_1.setBounds(459, 570, 89, 23);
  86.         frame.getContentPane().add(btnNewButton_1);
  87.     }
  88. }
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement