Wrote /root/JavaX-Caches/tmp_137220331/main.java - 13028 bytes (written=13028, should be 13028)
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_1875840991 /root/JavaX-Caches/tmp_137220331/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_137220331/main.java:16: error: class, interface, or enum expected
sclass XRecognizableImage extends SingleComponentPanel {
^
/root/JavaX-Caches/tmp_137220331/main.java:18: error: class, interface, or enum expected
private BufferedImage image;
^
/root/JavaX-Caches/tmp_137220331/main.java:19: error: class, interface, or enum expected
private double zoom = 1.0;
^
/root/JavaX-Caches/tmp_137220331/main.java:20: error: class, interface, or enum expected
protected Subrecognition markedSubrecognition, lastMarkedSubrecognition;
^
/root/JavaX-Caches/tmp_137220331/main.java:21: error: class, interface, or enum expected
protected java.util.List debugInfo;
^
/root/JavaX-Caches/tmp_137220331/main.java:22: error: class, interface, or enum expected
private ImageSurface imageSurface;
^
/root/JavaX-Caches/tmp_137220331/main.java:23: error: class, interface, or enum expected
private boolean selectableBoxes;
^
/root/JavaX-Caches/tmp_137220331/main.java:24: error: class, interface, or enum expected
private Subrecognition selectedSubrecognition;
^
/root/JavaX-Caches/tmp_137220331/main.java:25: error: class, interface, or enum expected
public final Trigger markChangeTrigger = new Trigger();
^
/root/JavaX-Caches/tmp_137220331/main.java:26: error: class, interface, or enum expected
public final Trigger selectionChangeTrigger = new Trigger();
^
/root/JavaX-Caches/tmp_137220331/main.java:27: error: class, interface, or enum expected
private boolean doubleBuffering;
^
/root/JavaX-Caches/tmp_137220331/main.java:28: error: class, interface, or enum expected
private boolean drawMarkLines;
^
/root/JavaX-Caches/tmp_137220331/main.java:29: error: class, interface, or enum expected
private boolean drawConfidenceBoxes = false;
^
/root/JavaX-Caches/tmp_137220331/main.java:30: error: class, interface, or enum expected
private float minConfidence = 0.5f; // anything below this confidence is shown in dark red
^
/root/JavaX-Caches/tmp_137220331/main.java:31: error: class, interface, or enum expected
private Corrections corrections = new Corrections();
^
/root/JavaX-Caches/tmp_137220331/main.java:33: error: class, interface, or enum expected
*() {
^
/root/JavaX-Caches/tmp_137220331/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:42: error: class, interface, or enum expected
public void updateImage(RGBImage image) {
^
/root/JavaX-Caches/tmp_137220331/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:47: error: class, interface, or enum expected
public void updateImage(BufferedImage image) {
^
/root/JavaX-Caches/tmp_137220331/main.java:52: error: class, interface, or enum expected
imageSurface.setImage(image);
^
/root/JavaX-Caches/tmp_137220331/main.java:53: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_137220331/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:57: error: class, interface, or enum expected
public void setImage(RGBImage image) {
^
/root/JavaX-Caches/tmp_137220331/main.java:59: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:61: error: class, interface, or enum expected
public void setImage(BufferedImage image) {
^
/root/JavaX-Caches/tmp_137220331/main.java:63: error: class, interface, or enum expected
clearOverlays();
^
/root/JavaX-Caches/tmp_137220331/main.java:64: error: class, interface, or enum expected
if (image == null) {
^
/root/JavaX-Caches/tmp_137220331/main.java:66: error: class, interface, or enum expected
imageSurface = null;
^
/root/JavaX-Caches/tmp_137220331/main.java:67: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_137220331/main.java:70: error: class, interface, or enum expected
protected void fillPopupMenu(JPopupMenu menu, Point point) {
^
/root/JavaX-Caches/tmp_137220331/main.java:72: error: class, interface, or enum expected
XRecognizableImage.this.fillPopupMenu(menu, point);
^
/root/JavaX-Caches/tmp_137220331/main.java:73: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:75: error: class, interface, or enum expected
public void render(int w, int h, Graphics2D g) {
^
/root/JavaX-Caches/tmp_137220331/main.java:77: error: class, interface, or enum expected
g.scale(imageSurface.getZoomX(), imageSurface.getZoomY());
^
/root/JavaX-Caches/tmp_137220331/main.java:78: error: class, interface, or enum expected
renderOverlays(g);
^
/root/JavaX-Caches/tmp_137220331/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:82: error: class, interface, or enum expected
imageSurface.addMouseMotionListener(new MouseMotionListener() {
^
/root/JavaX-Caches/tmp_137220331/main.java:83: error: class, interface, or enum expected
public void mouseDragged(MouseEvent e) {
^
/root/JavaX-Caches/tmp_137220331/main.java:86: error: class, interface, or enum expected
public void mouseMoved(MouseEvent e) {
^
/root/JavaX-Caches/tmp_137220331/main.java:88: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:91: error: class, interface, or enum expected
imageSurface.addMouseListener(new MouseAdapter() {
^
/root/JavaX-Caches/tmp_137220331/main.java:92: error: class, interface, or enum expected
public void mouseEntered(MouseEvent e) {
^
/root/JavaX-Caches/tmp_137220331/main.java:94: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:96: error: class, interface, or enum expected
public void mouseExited(MouseEvent e) {
^
/root/JavaX-Caches/tmp_137220331/main.java:98: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:101: error: class, interface, or enum expected
public void mousePressed(MouseEvent e) {
^
/root/JavaX-Caches/tmp_137220331/main.java:103: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:106: error: class, interface, or enum expected
imageSurface.setZoom(zoom);
^
/root/JavaX-Caches/tmp_137220331/main.java:107: error: class, interface, or enum expected
if (doubleBuffering)
^
/root/JavaX-Caches/tmp_137220331/main.java:110: error: class, interface, or enum expected
JScrollPane scrollPane = imageSurface.makeScrollPane();
^
/root/JavaX-Caches/tmp_137220331/main.java:111: error: class, interface, or enum expected
scrollPane.getVerticalScrollBar().setUnitIncrement(10);
^
/root/JavaX-Caches/tmp_137220331/main.java:112: error: class, interface, or enum expected
setComponent(scrollPane);
^
/root/JavaX-Caches/tmp_137220331/main.java:113: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:118: error: class, interface, or enum expected
selectedSubrecognition = null;
^
/root/JavaX-Caches/tmp_137220331/main.java:119: error: class, interface, or enum expected
debugInfo = null;
^
/root/JavaX-Caches/tmp_137220331/main.java:120: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:124: error: class, interface, or enum expected
if (debugInfo != null)
^
/root/JavaX-Caches/tmp_137220331/main.java:128: error: class, interface, or enum expected
Rectangle r = new Rectangle(s.clip);
^
/root/JavaX-Caches/tmp_137220331/main.java:129: error: class, interface, or enum expected
r.grow(1, 1);
^
/root/JavaX-Caches/tmp_137220331/main.java:130: error: class, interface, or enum expected
if (r.contains(p))
^
/root/JavaX-Caches/tmp_137220331/main.java:132: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:134: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:138: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:142: error: class, interface, or enum expected
if (selectableBoxes)
^
/root/JavaX-Caches/tmp_137220331/main.java:144: error: class, interface, or enum expected
else if (s != null)
^
/root/JavaX-Caches/tmp_137220331/main.java:146: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:149: error: class, interface, or enum expected
public void subrecognitionClicked(Subrecognition s, MouseEvent e) {
^
/root/JavaX-Caches/tmp_137220331/main.java:152: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:154: error: class, interface, or enum expected
public void setZoom(double zoom) {
^
/root/JavaX-Caches/tmp_137220331/main.java:156: error: class, interface, or enum expected
this.zoom = zoom;
^
/root/JavaX-Caches/tmp_137220331/main.java:157: error: class, interface, or enum expected
if (image != null)
^
/root/JavaX-Caches/tmp_137220331/main.java:159: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:164: error: class, interface, or enum expected
if (markedSubrecognition != null)
^
/root/JavaX-Caches/tmp_137220331/main.java:166: error: class, interface, or enum expected
if (selectedSubrecognition != null)
^
/root/JavaX-Caches/tmp_137220331/main.java:168: error: class, interface, or enum expected
if (drawMarkLines && debugInfo != null)
^
/root/JavaX-Caches/tmp_137220331/main.java:172: error: class, interface, or enum expected
g.setColor(Color.blue);
^
/root/JavaX-Caches/tmp_137220331/main.java:173: error: class, interface, or enum expected
g.setStroke(new BasicStroke(1));
^
/root/JavaX-Caches/tmp_137220331/main.java:174: error: class, interface, or enum expected
int y = markLine.type == MarkLine.Type.base ? markLine.y+1 : markLine.y;
^
/root/JavaX-Caches/tmp_137220331/main.java:175: error: class, interface, or enum expected
g.drawLine(markLine.x, y, markLine.x+markLine.width-1, y);
^
/root/JavaX-Caches/tmp_137220331/main.java:176: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:179: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:184: error: class, interface, or enum expected
g.setStroke(new BasicStroke(1));
^
/root/JavaX-Caches/tmp_137220331/main.java:185: error: class, interface, or enum expected
Rectangle r = correction.getRectangle();
^
/root/JavaX-Caches/tmp_137220331/main.java:186: error: class, interface, or enum expected
g.drawRect(r.x, r.y, r.width, r.height);
^
/root/JavaX-Caches/tmp_137220331/main.java:187: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:195: error: class, interface, or enum expected
float adjustedConfidence = Math.max(0, s.confidence-minConfidence)/(1.0f-minConfidence);
^
/root/JavaX-Caches/tmp_137220331/main.java:196: error: class, interface, or enum expected
float redness = 1f-adjustedConfidence;
^
/root/JavaX-Caches/tmp_137220331/main.java:197: error: class, interface, or enum expected
Color boxColor = new Color(1f, 0f, 0f, redness);
^
/root/JavaX-Caches/tmp_137220331/main.java:198: error: class, interface, or enum expected
drawBox(g, s, boxColor, 2);
^
/root/JavaX-Caches/tmp_137220331/main.java:199: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:202: error: class, interface, or enum expected
public void drawBox(Graphics2D g, Subrecognition subrecognition, Color color, int strokeWidth) {
^
/root/JavaX-Caches/tmp_137220331/main.java:204: error: class, interface, or enum expected
g.setStroke(new BasicStroke((float) strokeWidth));
^
/root/JavaX-Caches/tmp_137220331/main.java:205: error: class, interface, or enum expected
Rectangle r = subrecognition.clip;
^
/root/JavaX-Caches/tmp_137220331/main.java:206: error: class, interface, or enum expected
g.drawRect(r.x-1, r.y-1, r.width+2, r.height+2);
^
/root/JavaX-Caches/tmp_137220331/main.java:207: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_137220331/main.java:209: error: class, interface, or enum expected
public void setMarkedSubrecognition(Subrecognition subrecognition, boolean scroll) {
^
/root/JavaX-Caches/tmp_137220331/main.java:214: error: class, interface, or enum expected
markedSubrecognition = subrecognition;
^
/root/JavaX-Caches/tmp_137220331/main.java:215: error: class, interface, or enum expected
S tooltip = null;
^
100 errors
only showing the first 100 errors, of 180 total; use -Xmaxerrs if you would like to see more