Wrote /root/JavaX-Caches/tmp_1818145489/main.java - 2970 bytes (written=2970, should be 2970)
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_1332709353 /root/JavaX-Caches/tmp_1818145489/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1818145489/main.java:1: error: class, interface, or enum expected
static int forwardClicks_windowSize = 11; // odd should look nice. Set to 1 for an invisible window
^
/root/JavaX-Caches/tmp_1818145489/main.java:2: error: class, interface, or enum expected
static int forwardClicks_clickDelay = 0; // Delay in ms between closing window and forwarding click. 0 seems to work fine.
^
/root/JavaX-Caches/tmp_1818145489/main.java:3: error: class, interface, or enum expected
static int forwardClicks_dragDelay = 100; // Delay in ms when dragging
^
/root/JavaX-Caches/tmp_1818145489/main.java:4: error: class, interface, or enum expected
static int forwardClicks_trackingSpeed = 10; // How often to move the window (ms)
^
/root/JavaX-Caches/tmp_1818145489/main.java:5: error: class, interface, or enum expected
static int forwardClicks_restartDelay = 1000; // How quickly to restart after click (e.g. to allow untraced drags [forwarding dragging doesn't always work])
^
/root/JavaX-Caches/tmp_1818145489/main.java:6: error: class, interface, or enum expected
sbool forwardClicks_verbose;
^
/root/JavaX-Caches/tmp_1818145489/main.java:9: error: class, interface, or enum expected
static void forwardClicks(final O onClickAndRelease) {
^
/root/JavaX-Caches/tmp_1818145489/main.java:9: error: class, interface, or enum expected
static void forwardClicks(final O onClickAndRelease) {
^
/root/JavaX-Caches/tmp_1818145489/main.java:11: error: class, interface, or enum expected
final new JWindow window;
^
/root/JavaX-Caches/tmp_1818145489/main.java:12: error: class, interface, or enum expected
final int windowSize = forwardClicks_windowSize;
^
/root/JavaX-Caches/tmp_1818145489/main.java:13: error: class, interface, or enum expected
window.setSize(windowSize, windowSize);
^
/root/JavaX-Caches/tmp_1818145489/main.java:14: error: class, interface, or enum expected
window.setVisible(true);
^
/root/JavaX-Caches/tmp_1818145489/main.java:15: error: class, interface, or enum expected
window.setAlwaysOnTop(true);
^
/root/JavaX-Caches/tmp_1818145489/main.java:16: error: class, interface, or enum expected
JPanel panel = singleColorPanel(Color.red);
^
/root/JavaX-Caches/tmp_1818145489/main.java:17: error: class, interface, or enum expected
window.setContentPane(panel);
^
/root/JavaX-Caches/tmp_1818145489/main.java:18: error: class, interface, or enum expected
revalidate(window);
^
/root/JavaX-Caches/tmp_1818145489/main.java:19: error: class, interface, or enum expected
final new Robot robot;
^
/root/JavaX-Caches/tmp_1818145489/main.java:20: error: class, interface, or enum expected
panel.addMouseListener(new MouseAdapter {
^
/root/JavaX-Caches/tmp_1818145489/main.java:23: error: class, interface, or enum expected
public void mousePressed(final MouseEvent e) {
^
/root/JavaX-Caches/tmp_1818145489/main.java:23: error: class, interface, or enum expected
public void mousePressed(final MouseEvent e) {
^
/root/JavaX-Caches/tmp_1818145489/main.java:25: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1818145489/main.java:27: error: class, interface, or enum expected
public void mouseReleased(final MouseEvent e) {
^
/root/JavaX-Caches/tmp_1818145489/main.java:27: error: class, interface, or enum expected
public void mouseReleased(final MouseEvent e) {
^
/root/JavaX-Caches/tmp_1818145489/main.java:29: error: class, interface, or enum expected
final Point released = getMouseLocation();
^
/root/JavaX-Caches/tmp_1818145489/main.java:30: error: class, interface, or enum expected
final Point _pressed = or(pressed, released);
^
/root/JavaX-Caches/tmp_1818145489/main.java:31: error: class, interface, or enum expected
final int b = e.getButton();
^
/root/JavaX-Caches/tmp_1818145489/main.java:32: error: class, interface, or enum expected
final int mod =
^
/root/JavaX-Caches/tmp_1818145489/main.java:36: error: class, interface, or enum expected
swingLater(forwardClicks_clickDelay, r {
^
/root/JavaX-Caches/tmp_1818145489/main.java:38: error: class, interface, or enum expected
robot.mouseMove(_pressed.x, _pressed.y);
^
/root/JavaX-Caches/tmp_1818145489/main.java:39: error: class, interface, or enum expected
robot.mousePress(mod);
^
/root/JavaX-Caches/tmp_1818145489/main.java:40: error: class, interface, or enum expected
swingLater(neq(_pressed, released) ? forwardClicks_dragDelay : 0, r {
^
/root/JavaX-Caches/tmp_1818145489/main.java:42: error: class, interface, or enum expected
robot.mouseRelease(mod);
^
/root/JavaX-Caches/tmp_1818145489/main.java:45: error: class, interface, or enum expected
swingLater(forwardClicks_restartDelay, r {
^
/root/JavaX-Caches/tmp_1818145489/main.java:47: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1818145489/main.java:48: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1818145489/main.java:49: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1818145489/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1818145489/main.java:53: error: class, interface, or enum expected
swingEvery(window, forwardClicks_trackingSpeed, r {
^
/root/JavaX-Caches/tmp_1818145489/main.java:54: error: class, interface, or enum expected
final Point p = getMouseLocation();
^
/root/JavaX-Caches/tmp_1818145489/main.java:56: error: class, interface, or enum expected
int bottom = getScreenHeight()-(768-743);
^
/root/JavaX-Caches/tmp_1818145489/main.java:57: error: class, interface, or enum expected
final Point loc = new Point(p.x-windowSize/2, min(bottom, p.y-windowSize/2));
^
/root/JavaX-Caches/tmp_1818145489/main.java:58: error: class, interface, or enum expected
int h = max(windowSize, p.y-loc.y+windowSize/2);
^
/root/JavaX-Caches/tmp_1818145489/main.java:59: error: class, interface, or enum expected
window.setBounds(loc.x, loc.y, windowSize, h);
^
/root/JavaX-Caches/tmp_1818145489/main.java:61: error: class, interface, or enum expected
if (forwardClicks_verbose) {
^
/root/JavaX-Caches/tmp_1818145489/main.java:63: error: class, interface, or enum expected
print(loc + " " + onScreen);
^
/root/JavaX-Caches/tmp_1818145489/main.java:64: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1818145489/main.java:68: error: class, interface, or enum expected
}
^
47 errors