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

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

/root/JavaX-Caches/tmp_69977836/main.java:1: error: class, interface, or enum expected scope componentPopupMenu. ^ /root/JavaX-Caches/tmp_69977836/main.java:3: error: illegal character: '#' static ThreadLocal<MouseEvent> #mouseEvent; ^ /root/JavaX-Caches/tmp_69977836/main.java:5: error: class, interface, or enum expected svoid componentPopupMenu_init { ^ /root/JavaX-Caches/tmp_69977836/main.java:8: error: unclosed character literal mouseEvent = (ThreadLocal<MouseEvent>) vm_generalMap_get('mouseEvent); ^ /root/JavaX-Caches/tmp_69977836/main.java:9: error: class, interface, or enum expected if (mouseEvent == null) ^ /root/JavaX-Caches/tmp_69977836/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:15: error: class, interface, or enum expected svoid componentPopupMenu(final JComponent component, fO menuMaker) { ^ /root/JavaX-Caches/tmp_69977836/main.java:17: error: class, interface, or enum expected swing { ^ /root/JavaX-Caches/tmp_69977836/main.java:19: error: class, interface, or enum expected ((L) _get(adapter, 'maker)).add(menuMaker); ^ /root/JavaX-Caches/tmp_69977836/main.java:19: error: unclosed character literal ((L) _get(adapter, 'maker)).add(menuMaker); ^ /root/JavaX-Caches/tmp_69977836/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:23: error: class, interface, or enum expected sO componentPopupMenu_initForComponent(final JComponent component) { ^ /root/JavaX-Caches/tmp_69977836/main.java:26: error: class, interface, or enum expected O adapter = findComponentPopupMenuListener_gen(component); ^ /root/JavaX-Caches/tmp_69977836/main.java:27: error: class, interface, or enum expected if (adapter == null) { ^ /root/JavaX-Caches/tmp_69977836/main.java:30: error: class, interface, or enum expected component.addMouseListener(a); ^ /root/JavaX-Caches/tmp_69977836/main.java:31: error: class, interface, or enum expected adapter = a; ^ /root/JavaX-Caches/tmp_69977836/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:34: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_69977836/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:39: error: class, interface, or enum expected bool internalFrameLeftButtonMagic; ^ /root/JavaX-Caches/tmp_69977836/main.java:40: error: class, interface, or enum expected bool allowScrolling = true; ^ /root/JavaX-Caches/tmp_69977836/main.java:42: error: class, interface, or enum expected Point pressedAt; ^ /root/JavaX-Caches/tmp_69977836/main.java:44: error: class, interface, or enum expected public void mousePressed(MouseEvent e) { ^ /root/JavaX-Caches/tmp_69977836/main.java:46: error: class, interface, or enum expected pressedAt = internalFrameLeftButtonMagic && e.getClickCount() == 1 && internalFrameActive(e.getComponent()) ? e.getLocationOnScreen() : null; ^ /root/JavaX-Caches/tmp_69977836/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:49: error: class, interface, or enum expected public void mouseReleased(MouseEvent e) { ^ /root/JavaX-Caches/tmp_69977836/main.java:53: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_69977836/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:59: error: class, interface, or enum expected if (e.isPopupTrigger()) displayMenu2(e); ^ /root/JavaX-Caches/tmp_69977836/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:64: error: class, interface, or enum expected for (O menuMaker : maker) ^ /root/JavaX-Caches/tmp_69977836/main.java:66: error: class, interface, or enum expected vmBus_send('showingPopupMenu, e.getComponent(), menu); ^ /root/JavaX-Caches/tmp_69977836/main.java:66: error: unclosed character literal vmBus_send('showingPopupMenu, e.getComponent(), menu); ^ /root/JavaX-Caches/tmp_69977836/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:71: error: class, interface, or enum expected int emptyCount = menu.getComponentCount(); ^ /root/JavaX-Caches/tmp_69977836/main.java:72: error: class, interface, or enum expected populate(menu, e); ^ /root/JavaX-Caches/tmp_69977836/main.java:73: error: class, interface, or enum expected if (menu.getComponentCount() == emptyCount) ^ /root/JavaX-Caches/tmp_69977836/main.java:76: error: class, interface, or enum expected if (allowScrolling) { ^ /root/JavaX-Caches/tmp_69977836/main.java:78: error: class, interface, or enum expected JMenuScroller scroller = JMenuScroller.setScrollerFor(menu); ^ /root/JavaX-Caches/tmp_69977836/main.java:79: error: class, interface, or enum expected scroller.fillMenu = voidfunc(JPopupMenu m) { populate(m, e) }; ^ /root/JavaX-Caches/tmp_69977836/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_69977836/main.java:83: error: class, interface, or enum expected } ^ 42 errors