package map;

public class Map {
    private int width;
    private int hight;
}

@@ -7,16 +7,39 @@
 e map;%0A%0A
+import javax.swing.*;%0A%0A
 public c
@@ -94,11 +94,401 @@
 t hight;
+%0A%0A    public Map(int width, int hight) %7B%0A        this.width = width;%0A        this.hight = hight;%0A        this.createMap();%0A    %7D%0A%0A    private void createMap() %7B%0A        JFrame frame = new JFrame(%22TankJ-1990%22);%0A        frame.setVisible(true);%0A        frame.setFocusable(true);%0A        frame.setSize(this.width, this.hight);%0A        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A    %7D
 %0A%7D%0A

add jframe on map