Wrote /root/JavaX-Caches/tmp_862685760/main.java - 1067 bytes (written=1067, should be 1067)
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_1553150601 /root/JavaX-Caches/tmp_862685760/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_862685760/main.java:1: error: class, interface, or enum expected
sclass ForwardAndBackButtons {
^
/root/JavaX-Caches/tmp_862685760/main.java:3: error: class, interface, or enum expected
O onClick; // runnable
^
/root/JavaX-Caches/tmp_862685760/main.java:4: error: class, interface, or enum expected
JButton btnBack, btnForw;
^
/root/JavaX-Caches/tmp_862685760/main.java:5: error: class, interface, or enum expected
new L history;
^
/root/JavaX-Caches/tmp_862685760/main.java:6: error: class, interface, or enum expected
int historyIdx;
^
/root/JavaX-Caches/tmp_862685760/main.java:8: error: class, interface, or enum expected
*(JTextField *tf, O *onClick) {
^
/root/JavaX-Caches/tmp_862685760/main.java:9: error: illegal character: '#'
btnBack = jbutton(resizeImage(loadImage2(#1007466), 32), r { back() });
^
/root/JavaX-Caches/tmp_862685760/main.java:10: error: class, interface, or enum expected
btnForw = jbutton(resizeImage(
^
/root/JavaX-Caches/tmp_862685760/main.java:11: error: illegal character: '#'
img_getCenterPortion(loadImage2(#1007467), 198, 198), 32), r { forward() });
^
/root/JavaX-Caches/tmp_862685760/main.java:12: error: class, interface, or enum expected
update();
^
/root/JavaX-Caches/tmp_862685760/main.java:13: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_862685760/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_862685760/main.java:21: error: class, interface, or enum expected
--historyIdx;
^
/root/JavaX-Caches/tmp_862685760/main.java:22: error: class, interface, or enum expected
tf.setText(history.get(historyIdx-1));
^
/root/JavaX-Caches/tmp_862685760/main.java:23: error: class, interface, or enum expected
go();
^
/root/JavaX-Caches/tmp_862685760/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_862685760/main.java:28: error: class, interface, or enum expected
++historyIdx;
^
/root/JavaX-Caches/tmp_862685760/main.java:29: error: class, interface, or enum expected
tf.setText(history.get(historyIdx-1));
^
/root/JavaX-Caches/tmp_862685760/main.java:30: error: class, interface, or enum expected
go();
^
/root/JavaX-Caches/tmp_862685760/main.java:31: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_862685760/main.java:35: error: class, interface, or enum expected
pcallF(onClick);
^
/root/JavaX-Caches/tmp_862685760/main.java:36: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_862685760/main.java:40: error: class, interface, or enum expected
history.add(getTextTrim(tf));
^
/root/JavaX-Caches/tmp_862685760/main.java:41: error: class, interface, or enum expected
++historyIdx;
^
/root/JavaX-Caches/tmp_862685760/main.java:42: error: class, interface, or enum expected
update();
^
/root/JavaX-Caches/tmp_862685760/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_862685760/main.java:47: error: class, interface, or enum expected
btnForw.setEnabled(historyIdx < l(history));
^
/root/JavaX-Caches/tmp_862685760/main.java:48: error: class, interface, or enum expected
}
^
28 errors