Skip to content
Snippets Groups Projects
Commit 5b7dc4ae authored by bosskkev's avatar bosskkev
Browse files

test

parent b0647082
No related branches found
No related tags found
No related merge requests found
Pipeline #22942 failed
......@@ -5,16 +5,15 @@ import pong.PongObject;
import javax.swing.*;
import java.awt.*;
import java.io.IOException;
//
public class Grid extends JFrame implements Engine {
public class Grid extends JFrame implements Engine {
public Grid() throws IOException {
}
public void init(String title, int width, int height) throws IOException {
public void init(String windowTitle, int width, int height) throws IOException {
// mainPanel.setBounds(850,500,122,124);
this.setTitle(title);
this.setTitle(windowTitle);
// this.setContentPane(mainPanel);
this.setMinimumSize(new Dimension(width, height));
// this.setContentPane(mainPanel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment