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

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

/root/JavaX-Caches/tmp_968562/main.java:1: error: class, interface, or enum expected srecord noeq JG22NetworkElement(G22Utils g22utils, JG22Network parent, G22NetworkElement element) is Swingable { ^ /root/JavaX-Caches/tmp_968562/main.java:4: error: class, interface, or enum expected JLeftArrowScriptIDE ide; ^ /root/JavaX-Caches/tmp_968562/main.java:5: error: class, interface, or enum expected SingleComponentPanel scpContent = scp(); ^ /root/JavaX-Caches/tmp_968562/main.java:7: error: class, interface, or enum expected cachedVisualize { ^ /root/JavaX-Caches/tmp_968562/main.java:9: error: class, interface, or enum expected ide.makeParser = -> { ^ /root/JavaX-Caches/tmp_968562/main.java:11: error: class, interface, or enum expected element.configureParser(parser); ^ /root/JavaX-Caches/tmp_968562/main.java:12: error: class, interface, or enum expected ret parser; ^ /root/JavaX-Caches/tmp_968562/main.java:13: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_968562/main.java:14: error: class, interface, or enum expected ide.withResultPanel(false); ^ /root/JavaX-Caches/tmp_968562/main.java:15: error: class, interface, or enum expected ide.lvScript(element.varCode()); ^ /root/JavaX-Caches/tmp_968562/main.java:16: error: class, interface, or enum expected ide.runScript = -> { ^ /root/JavaX-Caches/tmp_968562/main.java:18: error: class, interface, or enum expected if (result.runnable()) { ^ /root/JavaX-Caches/tmp_968562/main.java:20: error: class, interface, or enum expected var visualizeFunction = parsedScript.getFunction("visualize"); ^ /root/JavaX-Caches/tmp_968562/main.java:22: error: class, interface, or enum expected O elementInstance = null; ^ /root/JavaX-Caches/tmp_968562/main.java:23: error: class, interface, or enum expected var ni = parent.networkInstance; ^ /root/JavaX-Caches/tmp_968562/main.java:24: error: class, interface, or enum expected if (ni != null) ^ /root/JavaX-Caches/tmp_968562/main.java:26: error: class, interface, or enum expected reMutable elementInstance; ^ /root/JavaX-Caches/tmp_968562/main.java:28: error: class, interface, or enum expected Component visualized = null; ^ /root/JavaX-Caches/tmp_968562/main.java:29: error: class, interface, or enum expected if (visualizeFunction != null) { ^ /root/JavaX-Caches/tmp_968562/main.java:34: error: class, interface, or enum expected ide.showScriptResult(value); ^ /root/JavaX-Caches/tmp_968562/main.java:35: error: class, interface, or enum expected if (value.isOK()) ^ /root/JavaX-Caches/tmp_968562/main.java:37: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_968562/main.java:39: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_968562/main.java:42: error: class, interface, or enum expected print(+visualized); ^ /root/JavaX-Caches/tmp_968562/main.java:43: error: class, interface, or enum expected scpContent.set(visualized); ^ /root/JavaX-Caches/tmp_968562/main.java:44: error: class, interface, or enum expected selectTabComponent(tabs, scpContent); ^ /root/JavaX-Caches/tmp_968562/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_968562/main.java:48: error: class, interface, or enum expected tabs = jtabs/*jExtendedTabs*/( ^ /root/JavaX-Caches/tmp_968562/main.java:56: error: class, interface, or enum expected var popDownButton = withRightMargin(jfullcenter( ^ /root/JavaX-Caches/tmp_968562/main.java:62: error: class, interface, or enum expected var box = centerAndEastWithMargin(tabs, popDownButton); ^ /root/JavaX-Caches/tmp_968562/main.java:65: error: class, interface, or enum expected jMinSize(80, 50, box); ^ /root/JavaX-Caches/tmp_968562/main.java:66: error: class, interface, or enum expected setBorder(box, BorderFactory.createLineBorder(Color.green, 5); ^ /root/JavaX-Caches/tmp_968562/main.java:68: error: class, interface, or enum expected onMouseDown(tabs/*.tabs*/, event -> { ^ /root/JavaX-Caches/tmp_968562/main.java:71: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_968562/main.java:73: error: class, interface, or enum expected new ComponentResizeDragger(box, box); ^ /root/JavaX-Caches/tmp_968562/main.java:74: error: class, interface, or enum expected var bounds = or(element.bounds, rect(50, 50, 400, 300)); ^ /root/JavaX-Caches/tmp_968562/main.java:75: error: class, interface, or enum expected setBounds(box, bounds); ^ /root/JavaX-Caches/tmp_968562/main.java:77: error: class, interface, or enum expected onBoundsChange(box, r { ^ /root/JavaX-Caches/tmp_968562/main.java:79: error: class, interface, or enum expected element.network.change(); ^ /root/JavaX-Caches/tmp_968562/main.java:80: error: class, interface, or enum expected parent.mainPanel.revalidateMe(); ^ /root/JavaX-Caches/tmp_968562/main.java:81: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_968562/main.java:83: error: class, interface, or enum expected ret box; ^ /root/JavaX-Caches/tmp_968562/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_968562/main.java:88: error: class, interface, or enum expected } ^ 44 errors