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

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

/root/JavaX-Caches/tmp_2064018901/main.java:1: error: class, interface, or enum expected static JTable sexyTableWithoutDrag() { ^ /root/JavaX-Caches/tmp_2064018901/main.java:2: error: class, interface, or enum expected final JTable table = tableWithToolTips(); ^ /root/JavaX-Caches/tmp_2064018901/main.java:4: error: class, interface, or enum expected tablePopupMenu(table, sexyTableWithoutDrag_popupMenuMaker(table)); ^ /root/JavaX-Caches/tmp_2064018901/main.java:8: error: class, interface, or enum expected table.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, InputEvent.CTRL_MASK), "none"); ^ /root/JavaX-Caches/tmp_2064018901/main.java:15: error: class, interface, or enum expected table.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT) ^ /root/JavaX-Caches/tmp_2064018901/main.java:17: error: class, interface, or enum expected table.getInputMap(JComponent.WHEN_FOCUSED) ^ /root/JavaX-Caches/tmp_2064018901/main.java:19: error: class, interface, or enum expected table.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT) ^ /root/JavaX-Caches/tmp_2064018901/main.java:21: error: class, interface, or enum expected table.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW) ^ /root/JavaX-Caches/tmp_2064018901/main.java:23: error: class, interface, or enum expected ((InputMap) UIManager.get("Table.ancestorInputMap")).put(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, InputEvent.CTRL_MASK), "none"); ^ /root/JavaX-Caches/tmp_2064018901/main.java:25: error: class, interface, or enum expected ret table; ^ /root/JavaX-Caches/tmp_2064018901/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2064018901/main.java:29: error: class, interface, or enum expected final WeakReference<JTable> ref = weakRef(t); ^ /root/JavaX-Caches/tmp_2064018901/main.java:30: error: class, interface, or enum expected ret voidfunc(JPopupMenu menu, int row) { ^ /root/JavaX-Caches/tmp_2064018901/main.java:31: error: class, interface, or enum expected final JTable table = ref!; ^ /root/JavaX-Caches/tmp_2064018901/main.java:32: error: class, interface, or enum expected final S item = first(getTableLine(table, row)); ^ /root/JavaX-Caches/tmp_2064018901/main.java:33: error: class, interface, or enum expected MouseEvent e = tablePopupMenu_mouseEvent!; ^ /root/JavaX-Caches/tmp_2064018901/main.java:34: error: class, interface, or enum expected final int col = table.columnAtPoint(e.getPoint()); ^ /root/JavaX-Caches/tmp_2064018901/main.java:35: error: class, interface, or enum expected final O value = table.getModel().getValueAt(row, col); ^ /root/JavaX-Caches/tmp_2064018901/main.java:38: error: class, interface, or enum expected if (value instanceof ImageIcon) { ^ /root/JavaX-Caches/tmp_2064018901/main.java:41: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_2064018901/main.java:42: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_2064018901/main.java:43: error: class, interface, or enum expected final S text = str(value); ^ /root/JavaX-Caches/tmp_2064018901/main.java:44: error: class, interface, or enum expected addMenuItem(menu, "Copy text to clipboard", r { ^ /root/JavaX-Caches/tmp_2064018901/main.java:46: error: class, interface, or enum expected print("Copied text to clipboard: " + quote(text)); ^ /root/JavaX-Caches/tmp_2064018901/main.java:47: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_2064018901/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2064018901/main.java:51: error: class, interface, or enum expected final JTextField tf = jTextField(table.getRowHeight()); ^ /root/JavaX-Caches/tmp_2064018901/main.java:52: error: class, interface, or enum expected showTitledForm("Set row height", ^ /root/JavaX-Caches/tmp_2064018901/main.java:56: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_2064018901/main.java:57: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_2064018901/main.java:58: error: class, interface, or enum expected } ^ 31 errors