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

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

/root/JavaX-Caches/tmp_799535632/main.java:1: error: class, interface, or enum expected !include once #1015780 // RSyntaxTextArea ^ /root/JavaX-Caches/tmp_799535632/main.java:1: error: illegal character: '#' !include once #1015780 // RSyntaxTextArea ^ /root/JavaX-Caches/tmp_799535632/main.java:18: error: illegal start of type *() { swing { ^ /root/JavaX-Caches/tmp_799535632/main.java:18: error: not a statement *() { swing { ^ /root/JavaX-Caches/tmp_799535632/main.java:18: error: ';' expected *() { swing { ^ /root/JavaX-Caches/tmp_799535632/main.java:22: error: '(' or '[' expected panel = new JPanel(new BorderLayout); ^ /root/JavaX-Caches/tmp_799535632/main.java:23: error: '(' or '[' expected csp = new CollapsibleSectionPanel; ^ /root/JavaX-Caches/tmp_799535632/main.java:38: error: unclosed character literal callOpt(f, 'setJMenuBar, createMenuBar()); ^ /root/JavaX-Caches/tmp_799535632/main.java:38: error: not a statement callOpt(f, 'setJMenuBar, createMenuBar()); ^ /root/JavaX-Caches/tmp_799535632/main.java:38: error: ';' expected callOpt(f, 'setJMenuBar, createMenuBar()); ^ /root/JavaX-Caches/tmp_799535632/main.java:38: error: ';' expected callOpt(f, 'setJMenuBar, createMenuBar()); ^ /root/JavaX-Caches/tmp_799535632/main.java:168: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_799535632/main.java:194: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_799535632/main.java:207: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_799535632/main.java:222: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_799535632/main.java:243: error: ';' expected ret main.getText(textArea); ^ /root/JavaX-Caches/tmp_799535632/main.java:246: error: ';' expected void _setFont(final Font font) swing { ^ /root/JavaX-Caches/tmp_799535632/main.java:257: error: ';' expected ret swing(func -> Font { textArea.getFont() }); ^ /root/JavaX-Caches/tmp_799535632/main.java:257: error: not a statement ret swing(func -> Font { textArea.getFont() }); ^ /root/JavaX-Caches/tmp_799535632/main.java:257: error: ';' expected ret swing(func -> Font { textArea.getFont() }); ^ /root/JavaX-Caches/tmp_799535632/main.java:257: error: ';' expected ret swing(func -> Font { textArea.getFont() }); ^ /root/JavaX-Caches/tmp_799535632/main.java:257: error: illegal start of expression ret swing(func -> Font { textArea.getFont() }); ^ /root/JavaX-Caches/tmp_799535632/main.java:261: error: ';' expected ret _getFont().getSize(); ^ /root/JavaX-Caches/tmp_799535632/main.java:273: error: ';' expected ret (RSyntaxDocument) textArea.getDocument(); ^ /root/JavaX-Caches/tmp_799535632/main.java:276: error: ';' expected Toolkit getToolkit() { ret panel.getToolkit(); } ^ 25 errors