Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package game;
- import java.awt.Graphics;
- import javax.swing.JPanel;
- public class Pole extends JPanel{
- // уровень сложности
- int slogn;
- public Pole(int slogn){
- this.slogn = slogn;
- }
- // метод paintComponent отвечает за отображение граф информации
- public void paintComponent(Graphics gr){
- // вызов родительского метода paintComponent
- super.paintComponent(gr);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement