Wrote /root/JavaX-Caches/tmp_959584158/main.java - 1202 bytes (written=1202, should be 1202)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_314677156 /root/JavaX-Caches/tmp_959584158/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_959584158/main.java:3: error: class, interface, or enum expected
static BlinkScreenArea blinkScreenArea(Rectangle r) {
^
/root/JavaX-Caches/tmp_959584158/main.java:5: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959584158/main.java:9: error: class, interface, or enum expected
int delay = 150;
^
/root/JavaX-Caches/tmp_959584158/main.java:10: error: class, interface, or enum expected
BufferedImage img, img2;
^
/root/JavaX-Caches/tmp_959584158/main.java:11: error: class, interface, or enum expected
JWindow window;
^
/root/JavaX-Caches/tmp_959584158/main.java:12: error: class, interface, or enum expected
JLabel lbl;
^
/root/JavaX-Caches/tmp_959584158/main.java:13: error: class, interface, or enum expected
Rectangle area;
^
/root/JavaX-Caches/tmp_959584158/main.java:15: error: class, interface, or enum expected
*(Rectangle r) ctex {
^
/root/JavaX-Caches/tmp_959584158/main.java:18: error: class, interface, or enum expected
r = new Rectangle(screenSize).intersection(r);
^
/root/JavaX-Caches/tmp_959584158/main.java:19: error: class, interface, or enum expected
area = r;
^
/root/JavaX-Caches/tmp_959584158/main.java:21: error: class, interface, or enum expected
new Robot robot;
^
/root/JavaX-Caches/tmp_959584158/main.java:22: error: class, interface, or enum expected
img = robot.createScreenCapture(r);
^
/root/JavaX-Caches/tmp_959584158/main.java:23: error: class, interface, or enum expected
img2 = changeBrightness(img, 2f);
^
/root/JavaX-Caches/tmp_959584158/main.java:24: error: class, interface, or enum expected
img = changeBrightness(img, 0.5f);
^
/root/JavaX-Caches/tmp_959584158/main.java:25: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959584158/main.java:31: error: class, interface, or enum expected
window.setBounds(area);
^
/root/JavaX-Caches/tmp_959584158/main.java:32: error: class, interface, or enum expected
lbl = new JLabel(new ImageIcon(img2));
^
/root/JavaX-Caches/tmp_959584158/main.java:33: error: class, interface, or enum expected
window.add(lbl);
^
/root/JavaX-Caches/tmp_959584158/main.java:34: error: class, interface, or enum expected
window.setAlwaysOnTop(true);
^
/root/JavaX-Caches/tmp_959584158/main.java:35: error: class, interface, or enum expected
window.setVisible(true);
^
/root/JavaX-Caches/tmp_959584158/main.java:37: error: class, interface, or enum expected
installTimer(lbl, delay, r { step(); });
^
/root/JavaX-Caches/tmp_959584158/main.java:37: error: class, interface, or enum expected
installTimer(lbl, delay, r { step(); });
^
/root/JavaX-Caches/tmp_959584158/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959584158/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959584158/main.java:44: error: class, interface, or enum expected
if (count > max)
^
/root/JavaX-Caches/tmp_959584158/main.java:46: error: class, interface, or enum expected
else if (count == max)
^
/root/JavaX-Caches/tmp_959584158/main.java:48: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_959584158/main.java:50: error: class, interface, or enum expected
}
^
28 errors