Wrote /root/JavaX-Caches/tmp_1796897376/main.java - 3854 bytes (written=3854, should be 3854) 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_1596674559 /root/JavaX-Caches/tmp_1796897376/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1796897376/main.java:1: error: class, interface, or enum expected sclass SnippetSelectForm { ^ /root/JavaX-Caches/tmp_1796897376/main.java:3: error: class, interface, or enum expected S snippetTitle; ^ /root/JavaX-Caches/tmp_1796897376/main.java:4: error: class, interface, or enum expected S forceType; ^ /root/JavaX-Caches/tmp_1796897376/main.java:5: error: class, interface, or enum expected JDesktopPane desktop = mainDesktopPane(); ^ /root/JavaX-Caches/tmp_1796897376/main.java:7: error: class, interface, or enum expected Container frame; ^ /root/JavaX-Caches/tmp_1796897376/main.java:8: error: class, interface, or enum expected JList list; ^ /root/JavaX-Caches/tmp_1796897376/main.java:9: error: class, interface, or enum expected JTextField tfCmd; ^ /root/JavaX-Caches/tmp_1796897376/main.java:10: error: class, interface, or enum expected JLabel status; ^ /root/JavaX-Caches/tmp_1796897376/main.java:11: error: class, interface, or enum expected JButton btnReload, btnRun, btnClear, btnOK; ^ /root/JavaX-Caches/tmp_1796897376/main.java:12: error: class, interface, or enum expected S submittedInput; ^ /root/JavaX-Caches/tmp_1796897376/main.java:13: error: class, interface, or enum expected volatile boolean searching; ^ /root/JavaX-Caches/tmp_1796897376/main.java:14: error: class, interface, or enum expected long lastSearch; // time of last search ^ /root/JavaX-Caches/tmp_1796897376/main.java:16: error: class, interface, or enum expected int searchDelay = 100; ^ /root/JavaX-Caches/tmp_1796897376/main.java:17: error: class, interface, or enum expected int maxResults = 100; ^ /root/JavaX-Caches/tmp_1796897376/main.java:18: error: class, interface, or enum expected int autoResearchInterval = 30000; // 30 secs ^ /root/JavaX-Caches/tmp_1796897376/main.java:20: error: class, interface, or enum expected L<S> actionHistory = synchroList(); ^ /root/JavaX-Caches/tmp_1796897376/main.java:22: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1796897376/main.java:27: error: class, interface, or enum expected list = new JList; ^ /root/JavaX-Caches/tmp_1796897376/main.java:28: error: class, interface, or enum expected onDoubleClickAndEnter(list, r { ok() }); ^ /root/JavaX-Caches/tmp_1796897376/main.java:30: error: class, interface, or enum expected ActionListener go = actionListener { ^ /root/JavaX-Caches/tmp_1796897376/main.java:32: error: class, interface, or enum expected search(true); ^ /root/JavaX-Caches/tmp_1796897376/main.java:33: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1796897376/main.java:35: error: class, interface, or enum expected btnReload = new JButton(isWindows() ? "Reload" : "\u27F3"); ^ /root/JavaX-Caches/tmp_1796897376/main.java:36: error: class, interface, or enum expected btnReload.addActionListener(go); ^ /root/JavaX-Caches/tmp_1796897376/main.java:38: error: class, interface, or enum expected btnClear = new JButton("X"); ^ /root/JavaX-Caches/tmp_1796897376/main.java:39: error: class, interface, or enum expected btnClear.setToolTipText("Show latest"); ^ /root/JavaX-Caches/tmp_1796897376/main.java:40: error: class, interface, or enum expected btnClear.addActionListener(actionListener { tfCmd.setText(""); }); ^ /root/JavaX-Caches/tmp_1796897376/main.java:40: error: class, interface, or enum expected btnClear.addActionListener(actionListener { tfCmd.setText(""); }); ^ /root/JavaX-Caches/tmp_1796897376/main.java:42: error: class, interface, or enum expected tfCmd = new JTextField; ^ /root/JavaX-Caches/tmp_1796897376/main.java:44: error: class, interface, or enum expected btnOK = listDependentButton(list, "OK", r { ok(); }); ^ /root/JavaX-Caches/tmp_1796897376/main.java:44: error: class, interface, or enum expected btnOK = listDependentButton(list, "OK", r { ok(); }); ^ /root/JavaX-Caches/tmp_1796897376/main.java:46: error: class, interface, or enum expected JPanel controls = jflow(btnClear, btnReload, btnOK); ^ /root/JavaX-Caches/tmp_1796897376/main.java:48: error: class, interface, or enum expected JPanel north = centerAndEast( ^ /root/JavaX-Caches/tmp_1796897376/main.java:52: error: class, interface, or enum expected status = new JLabel(" "); ^ /root/JavaX-Caches/tmp_1796897376/main.java:53: error: class, interface, or enum expected JPanel panel = northCenterAndSouth(north, list, status); ^ /root/JavaX-Caches/tmp_1796897376/main.java:55: error: class, interface, or enum expected onEnter(tfCmd, r ok); ^ /root/JavaX-Caches/tmp_1796897376/main.java:57: error: class, interface, or enum expected if (frame instanceof JFrame) ^ /root/JavaX-Caches/tmp_1796897376/main.java:60: error: class, interface, or enum expected installTimer(tfCmd, new Runnable { ^ /root/JavaX-Caches/tmp_1796897376/main.java:62: error: class, interface, or enum expected boolean autoSearchOn = true; ^ /root/JavaX-Caches/tmp_1796897376/main.java:64: error: class, interface, or enum expected public void run() { ^ /root/JavaX-Caches/tmp_1796897376/main.java:66: error: class, interface, or enum expected if (text.equals(lastContents)) { ^ /root/JavaX-Caches/tmp_1796897376/main.java:70: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1796897376/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1796897376/main.java:75: error: class, interface, or enum expected frame.add(panel); ^ /root/JavaX-Caches/tmp_1796897376/main.java:76: error: class, interface, or enum expected frame.setBounds(100, 100, 500, 400); ^ /root/JavaX-Caches/tmp_1796897376/main.java:78: error: class, interface, or enum expected search(false); ^ /root/JavaX-Caches/tmp_1796897376/main.java:79: error: class, interface, or enum expected focusLater(tfCmd); ^ /root/JavaX-Caches/tmp_1796897376/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1796897376/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1796897376/main.java:86: error: class, interface, or enum expected void search(String cmd, final boolean requestFocus) ctex { ^ /root/JavaX-Caches/tmp_1796897376/main.java:88: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1796897376/main.java:90: error: class, interface, or enum expected if (empty(cmd)) cmd = "_"; ^ /root/JavaX-Caches/tmp_1796897376/main.java:91: error: class, interface, or enum expected if (nempty(forceType)) cmd += " type:" + forceType; ^ /root/JavaX-Caches/tmp_1796897376/main.java:95: error: class, interface, or enum expected L<Snippet> l = tbSearch_url(tb_mainServer() + "/tb/search.php?q=" + urlencode(cmd) + "&limit=" + maxResults + "&sort=modified" + standardCredentials()); ^ /root/JavaX-Caches/tmp_1796897376/main.java:97: error: class, interface, or enum expected final new DefaultListModel model; ^ /root/JavaX-Caches/tmp_1796897376/main.java:98: error: class, interface, or enum expected for (Snippet s : l) ^ /root/JavaX-Caches/tmp_1796897376/main.java:101: error: class, interface, or enum expected awt { ^ /root/JavaX-Caches/tmp_1796897376/main.java:103: error: class, interface, or enum expected if (model.size() != 0) list.setSelectedIndex(0); ^ /root/JavaX-Caches/tmp_1796897376/main.java:104: error: class, interface, or enum expected status("Found " + model.size() + (model.size() == maxResults ? "+" : "") + " snippet(s)."); ^ /root/JavaX-Caches/tmp_1796897376/main.java:105: error: class, interface, or enum expected if (requestFocus) ^ /root/JavaX-Caches/tmp_1796897376/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1796897376/main.java:110: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1796897376/main.java:113: error: class, interface, or enum expected void status(final S s) { ^ /root/JavaX-Caches/tmp_1796897376/main.java:114: error: class, interface, or enum expected awt { status.setText(s); } ^ /root/JavaX-Caches/tmp_1796897376/main.java:117: error: class, interface, or enum expected void search(final boolean requestFocus) { ^ /root/JavaX-Caches/tmp_1796897376/main.java:119: error: class, interface, or enum expected lastSearch = now(); ^ /root/JavaX-Caches/tmp_1796897376/main.java:120: error: class, interface, or enum expected final String cmd = submittedInput; ^ /root/JavaX-Caches/tmp_1796897376/main.java:121: error: class, interface, or enum expected actionHistory.add(format3("*: Searching *", now(), cmd)); ^ /root/JavaX-Caches/tmp_1796897376/main.java:122: error: class, interface, or enum expected thread { ^ /root/JavaX-Caches/tmp_1796897376/main.java:124: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1796897376/main.java:129: error: class, interface, or enum expected final int i = indexOf(s, " - "); ^ /root/JavaX-Caches/tmp_1796897376/main.java:130: error: class, interface, or enum expected if (i < 0) ret; ^ /root/JavaX-Caches/tmp_1796897376/main.java:131: error: class, interface, or enum expected snippetTitle = substring(s, i+3); ^ /root/JavaX-Caches/tmp_1796897376/main.java:132: error: class, interface, or enum expected thread { ^ /root/JavaX-Caches/tmp_1796897376/main.java:134: error: class, interface, or enum expected pcall-messagebox { ^ /root/JavaX-Caches/tmp_1796897376/main.java:136: error: class, interface, or enum expected callF(onSelected, takeFirst(s, i)); ^ /root/JavaX-Caches/tmp_1796897376/main.java:137: error: class, interface, or enum expected } ^ 77 errors