Wrote /root/JavaX-Caches/tmp_261754446/main.java - 1219 bytes (written=1219, should be 1219) 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_404590589 /root/JavaX-Caches/tmp_261754446/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_261754446/main.java:2: error: class, interface, or enum expected sS showYesToAcceptPopup_imageID = #1101458; // #1101459 for "ok" instead of "yes" (wit.ai is bad at recognizing "yes") ^ /root/JavaX-Caches/tmp_261754446/main.java:2: error: illegal character: '#' sS showYesToAcceptPopup_imageID = #1101458; // #1101459 for "ok" instead of "yes" (wit.ai is bad at recognizing "yes") ^ /root/JavaX-Caches/tmp_261754446/main.java:4: error: class, interface, or enum expected static YesPopup showYesToAcceptPopup(final Component c, fO... _) { ^ /root/JavaX-Caches/tmp_261754446/main.java:4: error: class, interface, or enum expected static YesPopup showYesToAcceptPopup(final Component c, fO... _) { ^ /root/JavaX-Caches/tmp_261754446/main.java:6: error: class, interface, or enum expected final JDesktopPane desktop = parentOfType(c, JDesktopPane.class); ^ /root/JavaX-Caches/tmp_261754446/main.java:6: error: <identifier> expected final JDesktopPane desktop = parentOfType(c, JDesktopPane.class); ^ /root/JavaX-Caches/tmp_261754446/main.java:7: error: class, interface, or enum expected if (desktop == null) null; ^ /root/JavaX-Caches/tmp_261754446/main.java:8: error: class, interface, or enum expected S imageID = optPar(_, imageID := showYesToAcceptPopup_imageID); ^ /root/JavaX-Caches/tmp_261754446/main.java:9: error: class, interface, or enum expected int height = optPar(_, height := 114); ^ /root/JavaX-Caches/tmp_261754446/main.java:10: error: class, interface, or enum expected final YesPopup popup = setSizeToPreferredSize(YesPopup(c, imageID, height)); ^ /root/JavaX-Caches/tmp_261754446/main.java:11: error: class, interface, or enum expected fO mover = optPar(_, 'mover); // voidfunc(Component c, Component popup) ^ /root/JavaX-Caches/tmp_261754446/main.java:11: error: unclosed character literal fO mover = optPar(_, 'mover); // voidfunc(Component c, Component popup) ^ /root/JavaX-Caches/tmp_261754446/main.java:12: error: class, interface, or enum expected Runnable moveIt = r { ^ /root/JavaX-Caches/tmp_261754446/main.java:14: error: class, interface, or enum expected if (mover != null) ^ /root/JavaX-Caches/tmp_261754446/main.java:16: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_261754446/main.java:18: error: class, interface, or enum expected setLocation(popup, r.x+r.w/2, r.y-popup.getHeight()-5); ^ /root/JavaX-Caches/tmp_261754446/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_261754446/main.java:21: error: class, interface, or enum expected desktop.add(popup, JLayeredPane.POPUP_LAYER); ^ /root/JavaX-Caches/tmp_261754446/main.java:22: error: class, interface, or enum expected onClick(popup, r { removeFromParent(popup) }); ^ /root/JavaX-Caches/tmp_261754446/main.java:23: error: class, interface, or enum expected callF(moveIt); ^ /root/JavaX-Caches/tmp_261754446/main.java:24: error: class, interface, or enum expected awtEvery(popup, 100, moveIt); ^ /root/JavaX-Caches/tmp_261754446/main.java:26: error: class, interface, or enum expected ret popup; ^ /root/JavaX-Caches/tmp_261754446/main.java:27: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_261754446/main.java:28: error: class, interface, or enum expected } ^ 24 errors