mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 08:39:09 +00:00
[TASK] Removed random number
Also bumped version
This commit is contained in:
@@ -157,7 +157,10 @@ public class BotUI extends JFrame implements ActionListener, ComponentListener,
|
||||
case "Create screenshot":
|
||||
try {
|
||||
Robot robot = new Robot();
|
||||
Rectangle parabotScreen = new Rectangle((int) getLocation().getX(), (int) getLocation().getY() + (menuBar.getHeight() + file.getHeight()), getWidth(), getHeight() - 43);
|
||||
int menuBarHeight = menuBar.getHeight() + file.getHeight();
|
||||
Rectangle parabotScreen = new Rectangle(
|
||||
(int) getLocation().getX(), (int) getLocation().getY() + menuBarHeight,
|
||||
getWidth(), getHeight() - menuBarHeight);
|
||||
BufferedImage image = robot.createScreenCapture(parabotScreen);
|
||||
String randString = StringUtils.randomString(10);
|
||||
boolean search = true;
|
||||
|
||||
Reference in New Issue
Block a user