martaczaska

Pole_gry

Jan 3rd, 2020
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. package com.company;
  2.  
  3. import javax.swing.JPanel;
  4. import java.awt.*;
  5. import java.awt.event.ActionEvent;
  6. import java.awt.event.ActionListener;
  7. import java.io.File;
  8.  
  9. public class Pole_gry extends JPanel {
  10.  
  11.  
  12.     public Pole_gry(int w_okno, int h_okno){
  13.         setLayout(new GridLayout(1,1));
  14.  
  15.         add(new Menu());
  16.  
  17.     }
  18.  
  19.     public Pole_gry(){
  20.         File tlo_gry = new File("zdjecia/tlo_menu.png");
  21.     }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment