Changed size to resolution of arcade screen

This commit is contained in:
Remco
2015-05-26 11:30:03 +02:00
parent e55f112d79
commit 2af16890d4
6 changed files with 62 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
package view;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.ActionEvent;
@@ -27,6 +27,7 @@ public class GameView extends JPanel implements ActionListener{
this.led=led;
t = new Timer(1000/30, this);
t.start();
setPreferredSize(new Dimension(1280,1024));
}
public void actionPerformed(ActionEvent arg0) {