generated from sigonasr2/JavaProjectTemplate
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.
21 lines
430 B
21 lines
430 B
package sig;
|
|
|
|
import javax.swing.JFrame;
|
|
import sig.engine.Panel;
|
|
|
|
public class JavaProjectTemplate {
|
|
public static final String PROGRAM_NAME="Sig's Java Project Template";
|
|
public static void main(String[] args) {
|
|
JFrame f = new JFrame(PROGRAM_NAME);
|
|
Panel p = new Panel(f);
|
|
|
|
p.init();
|
|
|
|
f.add(p);
|
|
f.setSize(1280,720);
|
|
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
f.setVisible(true);
|
|
|
|
p.render();
|
|
}
|
|
}
|
|
|