mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-07 08:39:13 +00:00
Tweaked
This commit is contained in:
@@ -17,7 +17,7 @@ import java.net.URLClassLoader;
|
|||||||
* @author JKetelaar
|
* @author JKetelaar
|
||||||
*/
|
*/
|
||||||
public class Executer {
|
public class Executer {
|
||||||
/* TODO Move to Parabot client */
|
/* TODO Move to client */
|
||||||
|
|
||||||
public void getRandoms() {
|
public void getRandoms() {
|
||||||
Core.verbose("Downloading randoms");
|
Core.verbose("Downloading randoms");
|
||||||
@@ -44,7 +44,7 @@ public class Executer {
|
|||||||
Core.verbose("Parsed random(s)!");
|
Core.verbose("Parsed random(s)!");
|
||||||
} catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException | ClassNotFoundException | MalformedURLException e) {
|
} catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException | ClassNotFoundException | MalformedURLException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
Core.verbose("Failed to random(s)...");
|
Core.verbose("Failed to parse random(s)...");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ public class RandomUI implements ActionListener {
|
|||||||
public void openFrame(ArrayList<String> randoms) {
|
public void openFrame(ArrayList<String> randoms) {
|
||||||
frame = new JFrame();
|
frame = new JFrame();
|
||||||
frame.setBounds(100, 100, 351, 100 + (randoms.size() * 35));
|
frame.setBounds(100, 100, 351, 100 + (randoms.size() * 35));
|
||||||
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||||
frame.getContentPane().setLayout(null);
|
frame.getContentPane().setLayout(null);
|
||||||
|
|
||||||
JButton btnSubmit = new JButton("Submit");
|
JButton btnSubmit = new JButton("Submit");
|
||||||
|
|||||||
Reference in New Issue
Block a user