mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 16:49:10 +00:00
Merged the two stacktraces
This commit is contained in:
@@ -151,10 +151,8 @@ public class BotUI extends JFrame implements ActionListener, ComponentListener,
|
||||
Rectangle parabotScreen = new Rectangle((int) getLocation().getX(), (int) getLocation().getY(), getWidth(), getHeight());
|
||||
BufferedImage image = robot.createScreenCapture(parabotScreen);
|
||||
ImageIO.write(image, "png", new File(Directories.getScreenshotDir().getPath() + "/" + StringUtils.randomString(10) + ".png"));
|
||||
} catch (IOException k) {
|
||||
} catch (IOException | AWTException k) {
|
||||
k.printStackTrace();
|
||||
} catch (AWTException e1) {
|
||||
e1.printStackTrace();
|
||||
}
|
||||
break;
|
||||
case "Exit":
|
||||
|
||||
Reference in New Issue
Block a user