Skip to content
Permalink
6f7cbd245c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
19 lines (14 sloc) 392 Bytes
package main;
import java.awt.Dimension;
import javax.swing.*;
public class Main extends JFrame{
public static void main(String[] args){
new Game();
}
public void Game(){
JFrame container = new JFrame("Padraic");
JPanel panel = (JPanel) container.getContentPane();
Dimension D = new Dimension(800,600);
panel.setPreferredSize(new Dimension(800,600));
}
}