Wrote /root/JavaX-Caches/tmp_326148211/main.java - 1845 bytes (written=1845, should be 1845)
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_1097068655 /root/JavaX-Caches/tmp_326148211/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_326148211/main.java:1: error: class, interface, or enum expected
sclass ImageChooser extends SingleComponentPanel {
^
/root/JavaX-Caches/tmp_326148211/main.java:3: error: class, interface, or enum expected
new JTextField tfPath;
^
/root/JavaX-Caches/tmp_326148211/main.java:5: error: class, interface, or enum expected
*(BufferedImage img) {
^
/root/JavaX-Caches/tmp_326148211/main.java:7: error: class, interface, or enum expected
setImage(img);
^
/root/JavaX-Caches/tmp_326148211/main.java:8: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_326148211/main.java:10: error: class, interface, or enum expected
*(RGBImage img) { this(img.getBufferedImage()); }
^
/root/JavaX-Caches/tmp_326148211/main.java:13: error: class, interface, or enum expected
*(PNGFile png) { this(png == null ? null : png.getImage()); }
^
/root/JavaX-Caches/tmp_326148211/main.java:18: error: class, interface, or enum expected
is.loadFromClipboard();
^
/root/JavaX-Caches/tmp_326148211/main.java:20: error: class, interface, or enum expected
setComponent(jMinSize(100, 100, jscroll(is)));
^
/root/JavaX-Caches/tmp_326148211/main.java:22: error: class, interface, or enum expected
componentPopupMenu(is, voidfunc(JPopupMenu menu) {
^
/root/JavaX-Caches/tmp_326148211/main.java:26: error: class, interface, or enum expected
final BufferedImage img = shootScreen2();
^
/root/JavaX-Caches/tmp_326148211/main.java:27: error: class, interface, or enum expected
awt {
^
/root/JavaX-Caches/tmp_326148211/main.java:29: error: class, interface, or enum expected
infoMessage("Screenshot taken (" + img.getWidth() + "*" + img.getHeight() + " px)", 2);
^
/root/JavaX-Caches/tmp_326148211/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_326148211/main.java:34: error: class, interface, or enum expected
addMenuItem(menu, "Load snippet or file...", r {
^
/root/JavaX-Caches/tmp_326148211/main.java:35: error: class, interface, or enum expected
final new JTextField tf;
^
/root/JavaX-Caches/tmp_326148211/main.java:36: error: class, interface, or enum expected
showFormTitled("Load image from snippet or file",
^
/root/JavaX-Caches/tmp_326148211/main.java:40: error: class, interface, or enum expected
is.zoomToDisplaySize();
^
/root/JavaX-Caches/tmp_326148211/main.java:41: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_326148211/main.java:42: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_326148211/main.java:43: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_326148211/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_326148211/main.java:46: error: class, interface, or enum expected
bool hasImage() { ret is.getImage() != null && is.getImage().getWidth()*is.getImage().getHeight() > 1; }
^
/root/JavaX-Caches/tmp_326148211/main.java:48: error: class, interface, or enum expected
BWImage getBWImage() { ret is.getImage() == null ? null : new BWImage(is.getImage()); }
^
/root/JavaX-Caches/tmp_326148211/main.java:50: error: class, interface, or enum expected
BufferedImage getImage() { ret hasImage() ? is.getImage() : null; }
^
/root/JavaX-Caches/tmp_326148211/main.java:52: error: class, interface, or enum expected
void setImage(BufferedImage img) { is.setImage(img); is.zoomToWindow(); }
^
/root/JavaX-Caches/tmp_326148211/main.java:52: error: class, interface, or enum expected
void setImage(BufferedImage img) { is.setImage(img); is.zoomToWindow(); }
^
/root/JavaX-Caches/tmp_326148211/main.java:55: error: class, interface, or enum expected
PNGFile createPNGFile() { ret hasImage() ? new PNGFile(getImage()) : null; }
^
/root/JavaX-Caches/tmp_326148211/main.java:58: error: class, interface, or enum expected
void setTitleForUpload(S title) { is.titleForUpload = title; }
^
29 errors