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

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

/root/JavaX-Caches/tmp_574460733/main.java:1: error: class, interface, or enum expected sclass Chat { ^ /root/JavaX-Caches/tmp_574460733/main.java:3: error: class, interface, or enum expected new JTextField chatField; ^ /root/JavaX-Caches/tmp_574460733/main.java:4: error: class, interface, or enum expected Runnable onEnter_pre, onEnter_post; ^ /root/JavaX-Caches/tmp_574460733/main.java:5: error: class, interface, or enum expected bool showTimestamps = true; ^ /root/JavaX-Caches/tmp_574460733/main.java:6: error: class, interface, or enum expected O timeFormatter; ^ /root/JavaX-Caches/tmp_574460733/main.java:7: error: class, interface, or enum expected File logFile; ^ /root/JavaX-Caches/tmp_574460733/main.java:10: error: class, interface, or enum expected Android3 android; ^ /root/JavaX-Caches/tmp_574460733/main.java:11: error: class, interface, or enum expected bool monitored, hijacked; ^ /root/JavaX-Caches/tmp_574460733/main.java:13: error: class, interface, or enum expected *() { ^ /root/JavaX-Caches/tmp_574460733/main.java:16: error: class, interface, or enum expected append(formatLine(chatField.getText()) + "\n"); ^ /root/JavaX-Caches/tmp_574460733/main.java:17: error: class, interface, or enum expected chatField.selectAll(); ^ /root/JavaX-Caches/tmp_574460733/main.java:18: error: class, interface, or enum expected pcallFunction(onEnter_post); ^ /root/JavaX-Caches/tmp_574460733/main.java:19: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_574460733/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:28: error: class, interface, or enum expected final JComponent c = withTitle("Chat", centerAndSouth(chatArea, chatField)); ^ /root/JavaX-Caches/tmp_574460733/main.java:29: error: class, interface, or enum expected ret bindToComponent(c, ^ /root/JavaX-Caches/tmp_574460733/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:37: error: class, interface, or enum expected print("Vport: " + android.vport); ^ /root/JavaX-Caches/tmp_574460733/main.java:38: error: class, interface, or enum expected }, r { ^ /root/JavaX-Caches/tmp_574460733/main.java:40: error: class, interface, or enum expected android.dispose(); ^ /root/JavaX-Caches/tmp_574460733/main.java:41: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_574460733/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:52: error: class, interface, or enum expected chatArea.append(s); ^ /root/JavaX-Caches/tmp_574460733/main.java:53: error: class, interface, or enum expected if (logFile != null) ^ /root/JavaX-Caches/tmp_574460733/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:59: error: class, interface, or enum expected ret "[" + formatInt(month(), 2) + "/" + formatInt(days(), 2) + " " + formatInt(hours(), 2) + ":" + formatInt(minutes(), 2) + ":" + formatInt(seconds(), 2) + "]"; ^ /root/JavaX-Caches/tmp_574460733/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:64: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:68: error: class, interface, or enum expected chatField.selectAll(); ^ /root/JavaX-Caches/tmp_574460733/main.java:69: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:73: error: class, interface, or enum expected if "set input: *" { ^ /root/JavaX-Caches/tmp_574460733/main.java:75: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:75: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:78: error: class, interface, or enum expected set monitored; ret format("ok: *", input()); ^ /root/JavaX-Caches/tmp_574460733/main.java:79: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:82: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:82: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:86: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:86: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:89: error: class, interface, or enum expected set monitored; ret format("ok: *", chatArea.getText()); ^ /root/JavaX-Caches/tmp_574460733/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:93: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:93: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:96: error: class, interface, or enum expected set monitored; ret getFrameTitle(c); ^ /root/JavaX-Caches/tmp_574460733/main.java:97: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:100: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:100: error: class, interface, or enum expected set hijacked; ret "ok"; ^ /root/JavaX-Caches/tmp_574460733/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:104: error: class, interface, or enum expected ret yn(getFrame(c).isFocused()); ^ /root/JavaX-Caches/tmp_574460733/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_574460733/main.java:107: error: class, interface, or enum expected } ^ 57 errors