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

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

/root/JavaX-Caches/tmp_212707344/main.java:1: error: class, interface, or enum expected scope componentPopupMenu. ^ /root/JavaX-Caches/tmp_212707344/main.java:3: error: illegal character: '#' static ThreadLocal<MouseEvent> #mouseEvent; ^ /root/JavaX-Caches/tmp_212707344/main.java:5: error: class, interface, or enum expected svoid componentPopupMenu_init { ^ /root/JavaX-Caches/tmp_212707344/main.java:8: error: unclosed character literal mouseEvent = (ThreadLocal<MouseEvent>) vm_generalMap_get('mouseEvent); ^ /root/JavaX-Caches/tmp_212707344/main.java:9: error: class, interface, or enum expected if (mouseEvent == null) ^ /root/JavaX-Caches/tmp_212707344/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_212707344/main.java:15: error: class, interface, or enum expected static void componentPopupMenu(final JComponent component, fO menuMaker) { ^ /root/JavaX-Caches/tmp_212707344/main.java:17: error: class, interface, or enum expected if (component != null && menuMaker != null) swing { ^ /root/JavaX-Caches/tmp_212707344/main.java:19: error: class, interface, or enum expected if (adapter == null) ^ /root/JavaX-Caches/tmp_212707344/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_212707344/main.java:22: error: unclosed character literal ((L) get(adapter, 'maker)).add(menuMaker); ^ /root/JavaX-Caches/tmp_212707344/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_212707344/main.java:29: error: class, interface, or enum expected public void mousePressed(MouseEvent e) { displayMenu(e); } ^ /root/JavaX-Caches/tmp_212707344/main.java:29: error: class, interface, or enum expected public void mousePressed(MouseEvent e) { displayMenu(e); } ^ /root/JavaX-Caches/tmp_212707344/main.java:30: error: class, interface, or enum expected public void mouseReleased(MouseEvent e) { displayMenu(e); } ^ /root/JavaX-Caches/tmp_212707344/main.java:30: error: class, interface, or enum expected public void mouseReleased(MouseEvent e) { displayMenu(e); } ^ /root/JavaX-Caches/tmp_212707344/main.java:34: error: class, interface, or enum expected if (e.isPopupTrigger()) displayMenu2(e); ^ /root/JavaX-Caches/tmp_212707344/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_212707344/main.java:39: error: class, interface, or enum expected int emptyCount = menu.getComponentCount(); ^ /root/JavaX-Caches/tmp_212707344/main.java:41: error: class, interface, or enum expected temp tempSetTL(mouseEvent, e); ^ /root/JavaX-Caches/tmp_212707344/main.java:42: error: class, interface, or enum expected for (O menuMaker : maker) ^ /root/JavaX-Caches/tmp_212707344/main.java:45: error: class, interface, or enum expected vmBus_send('showingPopupMenu, e.getComponent(), menu); ^ /root/JavaX-Caches/tmp_212707344/main.java:45: error: unclosed character literal vmBus_send('showingPopupMenu, e.getComponent(), menu); ^ /root/JavaX-Caches/tmp_212707344/main.java:48: error: class, interface, or enum expected if (menu.getComponentCount() != emptyCount) ^ /root/JavaX-Caches/tmp_212707344/main.java:50: error: class, interface, or enum expected } ^ 25 errors