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

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

/root/JavaX-Caches/tmp_1335194739/main.java:1: error: class, interface, or enum expected abstract sclass DynAskUserQuestions extends DynModule { ^ /root/JavaX-Caches/tmp_1335194739/main.java:3: error: class, interface, or enum expected bool speak, listen; ^ /root/JavaX-Caches/tmp_1335194739/main.java:4: error: class, interface, or enum expected transient JButton btnSubmit; ^ /root/JavaX-Caches/tmp_1335194739/main.java:5: error: class, interface, or enum expected transient S lastHeard; ^ /root/JavaX-Caches/tmp_1335194739/main.java:7: error: class, interface, or enum expected start { ^ /root/JavaX-Caches/tmp_1335194739/main.java:11: error: class, interface, or enum expected if "no idea" { setField(answer := s); submit(); } ^ /root/JavaX-Caches/tmp_1335194739/main.java:11: error: class, interface, or enum expected if "no idea" { setField(answer := s); submit(); } ^ /root/JavaX-Caches/tmp_1335194739/main.java:11: error: class, interface, or enum expected if "no idea" { setField(answer := s); submit(); } ^ /root/JavaX-Caches/tmp_1335194739/main.java:14: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_1335194739/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335194739/main.java:17: error: class, interface, or enum expected setField(answer := s); ^ /root/JavaX-Caches/tmp_1335194739/main.java:18: error: class, interface, or enum expected dm_showYesToAcceptPopupAbove(btnSubmit); ^ /root/JavaX-Caches/tmp_1335194739/main.java:19: error: class, interface, or enum expected dm_sayInEnglish(s); ^ /root/JavaX-Caches/tmp_1335194739/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335194739/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335194739/main.java:26: error: class, interface, or enum expected JLabel lblQ = fontSizePlus(3, makeBold(dm_fieldLabel('question))); ^ /root/JavaX-Caches/tmp_1335194739/main.java:26: error: unclosed character literal JLabel lblQ = fontSizePlus(3, makeBold(dm_fieldLabel('question))); ^ /root/JavaX-Caches/tmp_1335194739/main.java:27: error: class, interface, or enum expected componentPopupMenuItem(lblQ, "Suggest question...", r { ^ /root/JavaX-Caches/tmp_1335194739/main.java:32: error: class, interface, or enum expected ret withRightMargin(makeForm2( ^ /root/JavaX-Caches/tmp_1335194739/main.java:34: error: unclosed character literal "Human answer:", centerAndEastWithMargin(onEnter(dm_fieldTextField('answer), rThread submit), ^ /root/JavaX-Caches/tmp_1335194739/main.java:37: error: unclosed character literal dm_checkBox('listen), dm_checkBox('speak), "Ask me something else", rThread newQuestion))))); ^ /root/JavaX-Caches/tmp_1335194739/main.java:37: error: unclosed character literal dm_checkBox('listen), dm_checkBox('speak), "Ask me something else", rThread newQuestion))))); ^ /root/JavaX-Caches/tmp_1335194739/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335194739/main.java:40: error: class, interface, or enum expected abstract S makeAQuestion(); ^ /root/JavaX-Caches/tmp_1335194739/main.java:42: error: class, interface, or enum expected void newQuestion enter { ^ /root/JavaX-Caches/tmp_1335194739/main.java:44: error: class, interface, or enum expected setFields(answer := "", question := makeAQuestion()); ^ /root/JavaX-Caches/tmp_1335194739/main.java:45: error: class, interface, or enum expected if (empty(question)) ret with infoBox("Got nothing to ask"); ^ /root/JavaX-Caches/tmp_1335194739/main.java:46: error: class, interface, or enum expected programLogStructure(litorderedmap(+question)); ^ /root/JavaX-Caches/tmp_1335194739/main.java:47: error: class, interface, or enum expected vmBus_send('showingQuestion, module(), question); ^ /root/JavaX-Caches/tmp_1335194739/main.java:47: error: unclosed character literal vmBus_send('showingQuestion, module(), question); ^ /root/JavaX-Caches/tmp_1335194739/main.java:48: error: class, interface, or enum expected if (speak) dm_sayWithAutoLanguage_splitAtQuotes(question); ^ /root/JavaX-Caches/tmp_1335194739/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335194739/main.java:53: error: class, interface, or enum expected programLogStructure(litorderedmap(+question, +answer)); ^ /root/JavaX-Caches/tmp_1335194739/main.java:54: error: class, interface, or enum expected vmBus_send('userAnsweredQuestion, module(), question, answer); ^ /root/JavaX-Caches/tmp_1335194739/main.java:54: error: unclosed character literal vmBus_send('userAnsweredQuestion, module(), question, answer); ^ /root/JavaX-Caches/tmp_1335194739/main.java:55: error: class, interface, or enum expected dm_addQAndA(question, answer); ^ /root/JavaX-Caches/tmp_1335194739/main.java:56: error: class, interface, or enum expected infoBox(confirmationText()); ^ /root/JavaX-Caches/tmp_1335194739/main.java:57: error: class, interface, or enum expected if (speak) dm_sayInEnglish(eq(lastHeard, answer) ? "confirmed" : answer); ^ /root/JavaX-Caches/tmp_1335194739/main.java:58: error: class, interface, or enum expected newQuestion(); ^ /root/JavaX-Caches/tmp_1335194739/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1335194739/main.java:63: error: class, interface, or enum expected } ^ 41 errors