Wrote /root/JavaX-Caches/tmp_1142659486/main.java - 2362 bytes (written=2362, should be 2362)
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_704190081 /root/JavaX-Caches/tmp_1142659486/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1142659486/main.java:3: error: class, interface, or enum expected
sclass AutoComboBox extends JComboBox {
^
/root/JavaX-Caches/tmp_1142659486/main.java:5: error: class, interface, or enum expected
new Vector myVector;
^
/root/JavaX-Caches/tmp_1142659486/main.java:6: error: class, interface, or enum expected
bool acceptOnTab; // don't work so good
^
/root/JavaX-Caches/tmp_1142659486/main.java:8: error: class, interface, or enum expected
*() {
^
/root/JavaX-Caches/tmp_1142659486/main.java:10: error: class, interface, or enum expected
setSelectedIndex(-1);
^
/root/JavaX-Caches/tmp_1142659486/main.java:11: error: class, interface, or enum expected
setEditable(true);
^
/root/JavaX-Caches/tmp_1142659486/main.java:12: error: class, interface, or enum expected
JTextField text = (JTextField) this.getEditor().getEditorComponent();
^
/root/JavaX-Caches/tmp_1142659486/main.java:13: error: class, interface, or enum expected
text.setFocusable(true);
^
/root/JavaX-Caches/tmp_1142659486/main.java:14: error: class, interface, or enum expected
text.setText("");
^
/root/JavaX-Caches/tmp_1142659486/main.java:15: error: class, interface, or enum expected
text.addKeyListener(new ComboListener(this, myVector));
^
/root/JavaX-Caches/tmp_1142659486/main.java:16: error: class, interface, or enum expected
if (acceptOnTab) text.setFocusTraversalKeysEnabled(false);
^
/root/JavaX-Caches/tmp_1142659486/main.java:17: error: class, interface, or enum expected
setMyVector();
^
/root/JavaX-Caches/tmp_1142659486/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1142659486/main.java:26: error: class, interface, or enum expected
setMyVector();
^
/root/JavaX-Caches/tmp_1142659486/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1142659486/main.java:31: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1142659486/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1142659486/main.java:41: error: illegal start of type
*(JComboBox *cb, Vector *vector) {}
^
/root/JavaX-Caches/tmp_1142659486/main.java:41: error: expected
*(JComboBox *cb, Vector *vector) {}
^
/root/JavaX-Caches/tmp_1142659486/main.java:41: error: expected
*(JComboBox *cb, Vector *vector) {}
^
/root/JavaX-Caches/tmp_1142659486/main.java:41: error: ';' expected
*(JComboBox *cb, Vector *vector) {}
^
/root/JavaX-Caches/tmp_1142659486/main.java:41: error: expected
*(JComboBox *cb, Vector *vector) {}
^
/root/JavaX-Caches/tmp_1142659486/main.java:44: error: not a statement
if (key.getKeyCode() == KeyEvent.VK_ENTER) ret;
^
/root/JavaX-Caches/tmp_1142659486/main.java:46: error: not a statement
if (key.getKeyCode() == KeyEvent.VK_ESCAPE) { cb.hidePopup(); ret; }
^
/root/JavaX-Caches/tmp_1142659486/main.java:56: error: not a statement
ret;
^
/root/JavaX-Caches/tmp_1142659486/main.java:59: error: ';' expected
JTextField tf = cast cb.getEditor().getEditorComponent();
^
/root/JavaX-Caches/tmp_1142659486/main.java:61: error: not a statement
if (tf.getCaretPosition() != l(tf.getText())) ret;
^
/root/JavaX-Caches/tmp_1142659486/main.java:76: error: ';' expected
ret emptyAfterTrim(text) ? vector : new Vector(scoredSearch(text, vector));
^
/root/JavaX-Caches/tmp_1142659486/main.java:76: error: not a statement
ret emptyAfterTrim(text) ? vector : new Vector(scoredSearch(text, vector));
^
/root/JavaX-Caches/tmp_1142659486/main.java:76: error: ';' expected
ret emptyAfterTrim(text) ? vector : new Vector(scoredSearch(text, vector));
^
/root/JavaX-Caches/tmp_1142659486/main.java:79: error: class, interface, or enum expected
}
^
31 errors