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

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

/root/JavaX-Caches/tmp_1342050184/main.java:1: error: class, interface, or enum expected please include function drawThoughtLine. ^ /root/JavaX-Caches/tmp_1342050184/main.java:3: error: illegal character: '#' !include once #1010984 // drawThoughtLineText_shift ^ /root/JavaX-Caches/tmp_1342050184/main.java:11: error: class, interface, or enum expected g.setColor(color); ^ /root/JavaX-Caches/tmp_1342050184/main.java:12: error: class, interface, or enum expected g.setFont(sansSerif(20)); ^ /root/JavaX-Caches/tmp_1342050184/main.java:14: error: class, interface, or enum expected int w1 = img_minOfWidthAndHeight(img1); ^ /root/JavaX-Caches/tmp_1342050184/main.java:15: error: class, interface, or enum expected int w2 = img_minOfWidthAndHeight(img2); ^ /root/JavaX-Caches/tmp_1342050184/main.java:16: error: class, interface, or enum expected int sideShift = (w1-w2)/4; ^ /root/JavaX-Caches/tmp_1342050184/main.java:17: error: class, interface, or enum expected int len = vectorLength(x2-x1, y2-y1); ^ /root/JavaX-Caches/tmp_1342050184/main.java:18: error: class, interface, or enum expected int dx = iround(sideShift*(x2-x1)/len), dy = iround(sideShift*(y2-y1)/len); ^ /root/JavaX-Caches/tmp_1342050184/main.java:19: error: class, interface, or enum expected x1 += dx; x2 += dx; ^ /root/JavaX-Caches/tmp_1342050184/main.java:19: error: class, interface, or enum expected x1 += dx; x2 += dx; ^ /root/JavaX-Caches/tmp_1342050184/main.java:20: error: class, interface, or enum expected y1 += dy; y2 += dy; ^ /root/JavaX-Caches/tmp_1342050184/main.java:20: error: class, interface, or enum expected y1 += dy; y2 += dy; ^ /root/JavaX-Caches/tmp_1342050184/main.java:22: error: class, interface, or enum expected drawOutlineTextAlongLine(g, text, x1, y1, x2, y2, drawThoughtLine_width/2+drawThoughtLineText_shift, color, Color.black); ^ /root/JavaX-Caches/tmp_1342050184/main.java:23: error: class, interface, or enum expected g.dispose(); ^ /root/JavaX-Caches/tmp_1342050184/main.java:24: error: class, interface, or enum expected } ^ 16 errors