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

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

/root/JavaX-Caches/tmp_662847331/main.java:1: error: class, interface, or enum expected sclass ImageMachine { ^ /root/JavaX-Caches/tmp_662847331/main.java:3: error: class, interface, or enum expected SingleComponentPanel scp; ^ /root/JavaX-Caches/tmp_662847331/main.java:4: error: class, interface, or enum expected ImageSurface is; ^ /root/JavaX-Caches/tmp_662847331/main.java:5: error: class, interface, or enum expected Q q; ^ /root/JavaX-Caches/tmp_662847331/main.java:6: error: class, interface, or enum expected volatile bool boss; // boss mode (after pressing Escape) ^ /root/JavaX-Caches/tmp_662847331/main.java:8: error: class, interface, or enum expected void start() { ^ /root/JavaX-Caches/tmp_662847331/main.java:9: error: class, interface, or enum expected final S word = randomEnglishWord(); ^ /root/JavaX-Caches/tmp_662847331/main.java:10: error: class, interface, or enum expected swing { ^ /root/JavaX-Caches/tmp_662847331/main.java:12: error: class, interface, or enum expected showMaximizedFrame("Automatic Image Machine!", northAndCenter(tf = setTextFieldFontSize(jCenteredTextField(word), 20), scp = new SingleComponentPanel)); ^ /root/JavaX-Caches/tmp_662847331/main.java:14: error: class, interface, or enum expected registerEscape(getFrame(tf), r { ^ /root/JavaX-Caches/tmp_662847331/main.java:16: error: class, interface, or enum expected tf.setText(""); scp.noComponent(); ^ /root/JavaX-Caches/tmp_662847331/main.java:16: error: class, interface, or enum expected tf.setText(""); scp.noComponent(); ^ /root/JavaX-Caches/tmp_662847331/main.java:17: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_662847331/main.java:19: error: class, interface, or enum expected onEnterAndNow(tf, r { ^ /root/JavaX-Caches/tmp_662847331/main.java:21: error: class, interface, or enum expected awt { tf.selectAll(); } ^ /root/JavaX-Caches/tmp_662847331/main.java:21: error: class, interface, or enum expected awt { tf.selectAll(); } ^ /root/JavaX-Caches/tmp_662847331/main.java:22: error: class, interface, or enum expected final S text = getTextTrim(tf); ^ /root/JavaX-Caches/tmp_662847331/main.java:23: error: class, interface, or enum expected q.add(r { ^ /root/JavaX-Caches/tmp_662847331/main.java:25: error: class, interface, or enum expected long time = sysNow(); ^ /root/JavaX-Caches/tmp_662847331/main.java:26: error: class, interface, or enum expected loading { ^ /root/JavaX-Caches/tmp_662847331/main.java:27: error: class, interface, or enum expected final BufferedImage img = quickVisualize(text); ^ /root/JavaX-Caches/tmp_662847331/main.java:28: error: class, interface, or enum expected if (boss) ret; ^ /root/JavaX-Caches/tmp_662847331/main.java:29: error: class, interface, or enum expected awt { newImage(text, img); } ^ /root/JavaX-Caches/tmp_662847331/main.java:29: error: class, interface, or enum expected awt { newImage(text, img); } ^ /root/JavaX-Caches/tmp_662847331/main.java:32: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_662847331/main.java:33: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_662847331/main.java:34: error: class, interface, or enum expected hideConsole(); ^ /root/JavaX-Caches/tmp_662847331/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_662847331/main.java:40: error: class, interface, or enum expected lbl.setFont(sansSerifBold(20)); ^ /root/JavaX-Caches/tmp_662847331/main.java:41: error: class, interface, or enum expected scp.setComponent(centerAndSouth( ^ /root/JavaX-Caches/tmp_662847331/main.java:44: error: class, interface, or enum expected awt { is.zoomToWindow(); } ^ /root/JavaX-Caches/tmp_662847331/main.java:44: error: class, interface, or enum expected awt { is.zoomToWindow(); } ^ 32 errors