Question marking hard at why travis is failing
This commit is contained in:
35
runescape-client/src/test/java/Main.java
Normal file
35
runescape-client/src/test/java/Main.java
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
import java.io.IOException;
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.WindowConstants;
|
||||
|
||||
public class Main extends JFrame
|
||||
{
|
||||
private static final int WIDTH = 765;
|
||||
private static final int HEIGHT = 503;
|
||||
|
||||
public Main() throws IOException
|
||||
{
|
||||
this.setSize(800, 600);
|
||||
Client client = new Client();
|
||||
|
||||
ConfigLoader config = new ConfigLoader();
|
||||
config.fetch();
|
||||
|
||||
client.setStub(new RSStub(config, client));
|
||||
|
||||
this.add(client);
|
||||
|
||||
client.setSize(WIDTH, HEIGHT);
|
||||
|
||||
client.init();
|
||||
client.start();
|
||||
this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||
this.setVisible(true);
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws IOException
|
||||
{
|
||||
new Main();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user