You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
480 B
27 lines
480 B
package hauptmenue;
|
|
|
|
import java.awt.Dimension;
|
|
|
|
import javax.swing.JFrame;
|
|
|
|
import solitaer.SolitaerGamePanel;
|
|
|
|
public class GameWindow extends JFrame {
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
private final SolitaerGamePanel gamePanel = new SolitaerGamePanel();
|
|
|
|
public GameWindow() {
|
|
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
gamePanel.setPreferredSize(new Dimension(1180, 780));
|
|
|
|
add(gamePanel);
|
|
pack();
|
|
|
|
setVisible(true);
|
|
}
|
|
|
|
}
|