Wrote /root/JavaX-Caches/tmp_1414046368/main.java - 574 bytes (written=574, should be 574) javac=0, ecj=1 Checking ECJ at port 4898 at 127.0.0.1 ecj -source 1.8 -target 1.8 -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_1203694851 /root/JavaX-Caches/tmp_1414046368/main.java [Compilation Error]

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

main$JavaCompileException: ECJ returned errors. ---------- 1. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 1) please include function myFrames.\r \r // can probably be merged with next variant\r static void disposeWindow(final Window window) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 2. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 5) if (window != null) swing { ^^^^^ Syntax error on token "swing", : expected after this token ---------- 3. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 9) } ^ Syntax error on token "}", { expected ---------- 4. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 12) static void disposeWindow(final Component c) { ^ Syntax error on token "(", ; expected ---------- 5. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 12) static void disposeWindow(final Component c) { ^ Syntax error on token ")", ; expected ---------- 6. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 16) static void disposeWindow(O o) { ^ Syntax error on token "(", ; expected ---------- 7. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 16) static void disposeWindow(O o) { ^ Syntax error on token ")", ; expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 20) static void disposeWindow() { ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 9. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 20) static void disposeWindow() { ^^^^^^^^^^^^^ Syntax error on token "disposeWindow", AnnotationName expected after this token ---------- 10. ERROR in /root/JavaX-Caches/tmp_1414046368/main.java (at line 22) } ^ Syntax error, insert "}" to complete Statement ---------- 10 problems (10 errors) Options file: /tmp/javax12882429475861007681