Wrote /root/JavaX-Caches/tmp_1785485585/main.java - 1255 bytes (written=1255, should be 1255)
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_1082706173 /root/JavaX-Caches/tmp_1785485585/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1785485585/main.java:1: error: class, interface, or enum expected
sclass StackLayouter extends F1 {
^
/root/JavaX-Caches/tmp_1785485585/main.java:3: error: class, interface, or enum expected
int gap = 5;
^
/root/JavaX-Caches/tmp_1785485585/main.java:5: error: class, interface, or enum expected
int preferredWidth = 300;
^
/root/JavaX-Caches/tmp_1785485585/main.java:6: error: class, interface, or enum expected
bool maximizeIfSingleComponent = true;
^
/root/JavaX-Caches/tmp_1785485585/main.java:8: error: class, interface, or enum expected
Dimension get(Container parent) {
^
/root/JavaX-Caches/tmp_1785485585/main.java:10: error: class, interface, or enum expected
Insets insets = unnullInsets(parent.getInsets());
^
/root/JavaX-Caches/tmp_1785485585/main.java:11: error: class, interface, or enum expected
Dimension size = parent.getSize();
^
/root/JavaX-Caches/tmp_1785485585/main.java:12: error: class, interface, or enum expected
ifdef StackLayouter_debug
^
/root/JavaX-Caches/tmp_1785485585/main.java:14: error: class, interface, or enum expected
endifdef
^
/root/JavaX-Caches/tmp_1785485585/main.java:16: error: class, interface, or enum expected
int width = size.width-insets.left-insets.right;
^
/root/JavaX-Caches/tmp_1785485585/main.java:17: error: class, interface, or enum expected
for (Component c : l) {
^
/root/JavaX-Caches/tmp_1785485585/main.java:19: error: class, interface, or enum expected
if (maximizeIfSingleComponent && l(l) == 1) {
^
/root/JavaX-Caches/tmp_1785485585/main.java:22: error: class, interface, or enum expected
endifdef
^
/root/JavaX-Caches/tmp_1785485585/main.java:24: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1785485585/main.java:26: error: class, interface, or enum expected
int h = H != null ? H : c.getPreferredSize().height;
^
/root/JavaX-Caches/tmp_1785485585/main.java:27: error: class, interface, or enum expected
c.setBounds(insets.left, y, width, h);
^
/root/JavaX-Caches/tmp_1785485585/main.java:28: error: class, interface, or enum expected
y += h+gap;
^
/root/JavaX-Caches/tmp_1785485585/main.java:29: error: class, interface, or enum expected
ifdef StackLayouter_debug
^
/root/JavaX-Caches/tmp_1785485585/main.java:31: error: class, interface, or enum expected
endifdef
^
/root/JavaX-Caches/tmp_1785485585/main.java:36: error: class, interface, or enum expected
};
^
/root/JavaX-Caches/tmp_1785485585/main.java:37: error: class, interface, or enum expected
}
^
21 errors