Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import javax.swing.JPanel;
- import java.awt.*;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import java.io.File;
- public class Pole_gry extends JPanel {
- public Pole_gry(int w_okno, int h_okno){
- setLayout(new GridLayout(1,1));
- add(new Menu());
- }
- public Pole_gry(){
- File tlo_gry = new File("zdjecia/tlo_menu.png");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment