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

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

/root/JavaX-Caches/tmp_749925669/main.java:2: error: class, interface, or enum expected sclass InstantNeverHideToolTip > MouseAdapter { ^ /root/JavaX-Caches/tmp_749925669/main.java:4: error: class, interface, or enum expected JToolTip toolTip; ^ /root/JavaX-Caches/tmp_749925669/main.java:5: error: class, interface, or enum expected Popup popup; ^ /root/JavaX-Caches/tmp_749925669/main.java:6: error: class, interface, or enum expected settable Pt offset = pt(20, 20); ^ /root/JavaX-Caches/tmp_749925669/main.java:7: error: class, interface, or enum expected int x, y; // popup position ^ /root/JavaX-Caches/tmp_749925669/main.java:8: error: class, interface, or enum expected S text; ^ /root/JavaX-Caches/tmp_749925669/main.java:9: error: class, interface, or enum expected IF0<S> calculateText; ^ /root/JavaX-Caches/tmp_749925669/main.java:10: error: class, interface, or enum expected IF1<Pt, S> calculateTextFromCoordinates; ^ /root/JavaX-Caches/tmp_749925669/main.java:11: error: class, interface, or enum expected settable bool verbose; ^ /root/JavaX-Caches/tmp_749925669/main.java:12: error: class, interface, or enum expected Pt mousePt = pt(0, 0); // last mouse position in component ^ /root/JavaX-Caches/tmp_749925669/main.java:14: error: class, interface, or enum expected *(IF0<S> *calculateText, JComponent component) { this(component); } ^ /root/JavaX-Caches/tmp_749925669/main.java:14: error: class, interface, or enum expected *(IF0<S> *calculateText, JComponent component) { this(component); } ^ /root/JavaX-Caches/tmp_749925669/main.java:15: error: class, interface, or enum expected *(IF1<Pt, S> *calculateTextFromCoordinates, JComponent component) { this(component); } ^ /root/JavaX-Caches/tmp_749925669/main.java:16: error: class, interface, or enum expected *(S *text, JComponent component) { this(component); } ^ /root/JavaX-Caches/tmp_749925669/main.java:21: error: class, interface, or enum expected component.addMouseMotionListener(InstantNeverHideToolTip.this); ^ /root/JavaX-Caches/tmp_749925669/main.java:22: error: class, interface, or enum expected toolTip = component.createToolTip(); ^ /root/JavaX-Caches/tmp_749925669/main.java:25: error: class, interface, or enum expected bindToComponent(component, null, l0 hideToolTip); ^ /root/JavaX-Caches/tmp_749925669/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:29: error: class, interface, or enum expected @Override public void mouseEntered(MouseEvent e) { ^ /root/JavaX-Caches/tmp_749925669/main.java:31: error: class, interface, or enum expected showToolTip(); ^ /root/JavaX-Caches/tmp_749925669/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:36: error: class, interface, or enum expected if (p != null) { ^ /root/JavaX-Caches/tmp_749925669/main.java:38: error: class, interface, or enum expected x = p2.x; ^ /root/JavaX-Caches/tmp_749925669/main.java:39: error: class, interface, or enum expected y = p2.y; ^ /root/JavaX-Caches/tmp_749925669/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:43: error: class, interface, or enum expected @Override public void mouseDragged(MouseEvent e) { ^ /root/JavaX-Caches/tmp_749925669/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:47: error: class, interface, or enum expected @Override public void mouseMoved(MouseEvent e) { ^ /root/JavaX-Caches/tmp_749925669/main.java:49: error: class, interface, or enum expected if (verbose) printVars(+mousePt, +calculateTextFromCoordinates); ^ /root/JavaX-Caches/tmp_749925669/main.java:50: error: class, interface, or enum expected if (calculateTextFromCoordinates != null) { ^ /root/JavaX-Caches/tmp_749925669/main.java:53: error: class, interface, or enum expected updateText(); ^ /root/JavaX-Caches/tmp_749925669/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:60: error: class, interface, or enum expected else if (calculateTextFromCoordinates != null) ^ /root/JavaX-Caches/tmp_749925669/main.java:62: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:64: error: class, interface, or enum expected public void showToolTip() { ^ /root/JavaX-Caches/tmp_749925669/main.java:66: error: class, interface, or enum expected showToolTip_noUpdateText(); ^ /root/JavaX-Caches/tmp_749925669/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:69: error: class, interface, or enum expected public void showToolTip_noUpdateText() { ^ /root/JavaX-Caches/tmp_749925669/main.java:71: error: class, interface, or enum expected toolTip.setTipText(text); ^ /root/JavaX-Caches/tmp_749925669/main.java:72: error: class, interface, or enum expected popup = PopupFactory.getSharedInstance().getPopup(component, toolTip, x, y); ^ /root/JavaX-Caches/tmp_749925669/main.java:73: error: class, interface, or enum expected popup.show(); ^ /root/JavaX-Caches/tmp_749925669/main.java:74: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:76: error: class, interface, or enum expected public void mouseExited(MouseEvent e) { ^ /root/JavaX-Caches/tmp_749925669/main.java:78: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:80: error: class, interface, or enum expected bool toolTipShowing() { ret popup != null; } ^ /root/JavaX-Caches/tmp_749925669/main.java:85: error: class, interface, or enum expected popup = null; ^ /root/JavaX-Caches/tmp_749925669/main.java:86: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:89: error: class, interface, or enum expected S getText() { ret text; } ^ /root/JavaX-Caches/tmp_749925669/main.java:93: error: class, interface, or enum expected if (eq(text, getText())) ret; ^ /root/JavaX-Caches/tmp_749925669/main.java:94: error: class, interface, or enum expected InstantNeverHideToolTip.this.text = text; ^ /root/JavaX-Caches/tmp_749925669/main.java:95: error: class, interface, or enum expected if (verbose) printVars("setText", showing := toolTipShowing(), +x, +y); ^ /root/JavaX-Caches/tmp_749925669/main.java:96: error: class, interface, or enum expected if (toolTipShowing()) { ^ /root/JavaX-Caches/tmp_749925669/main.java:98: error: class, interface, or enum expected showToolTip_noUpdateText(); ^ /root/JavaX-Caches/tmp_749925669/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_749925669/main.java:104: error: class, interface, or enum expected } ^ 55 errors