added a new Main in package de.heatup.testing
should be used for testing purposes only
This commit is contained in:
1 parent
dc9a12e18a
commit
dc755f72c7
1 file changed
+28
@@ -0,0 +1,28 @@
|
||||
package de.heatup.testing;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import javax.swing.JFrame;
|
||||
|
||||
import de.heatup.ui.menu.HighscorePanel;
|
||||
|
||||
public class Main extends JFrame {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static HighscorePanel p = new HighscorePanel();
|
||||
|
||||
public Main() {
|
||||
|
||||
this.setTitle("HeatUp! - Testing");
|
||||
this.setSize(800, 600);
|
||||
this.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
|
||||
|
||||
this.add(HighscorePanel.getHighscorePanel(), BorderLayout.CENTER);
|
||||
|
||||
this.setVisible(true);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new Main();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user