Wrote /root/JavaX-Caches/tmp_273314336/main.java - 3741 bytes (written=3741, should be 3741) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_764540278 /root/JavaX-Caches/tmp_273314336/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_273314336/main.java:1: error: class, interface, or enum expected !636 ^ /root/JavaX-Caches/tmp_273314336/main.java:10: error: class, interface, or enum expected static JTextField tfCmd; ^ /root/JavaX-Caches/tmp_273314336/main.java:11: error: class, interface, or enum expected static JLabel status; ^ /root/JavaX-Caches/tmp_273314336/main.java:12: error: class, interface, or enum expected static S submittedInput; ^ /root/JavaX-Caches/tmp_273314336/main.java:13: error: class, interface, or enum expected static int searchDelay = 100; ^ /root/JavaX-Caches/tmp_273314336/main.java:14: error: class, interface, or enum expected static volatile boolean searching; ^ /root/JavaX-Caches/tmp_273314336/main.java:16: error: class, interface, or enum expected !include #1000839 // PopupMenuHelper ^ /root/JavaX-Caches/tmp_273314336/main.java:16: error: illegal character: '#' !include #1000839 // PopupMenuHelper ^ /root/JavaX-Caches/tmp_273314336/main.java:20: error: class, interface, or enum expected JFrame frame; ^ /root/JavaX-Caches/tmp_273314336/main.java:21: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_273314336/main.java:23: error: class, interface, or enum expected } catch (HeadlessException e) { ^ /root/JavaX-Caches/tmp_273314336/main.java:25: error: class, interface, or enum expected return; ^ /root/JavaX-Caches/tmp_273314336/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:30: error: class, interface, or enum expected list = new JList(); ^ /root/JavaX-Caches/tmp_273314336/main.java:31: error: class, interface, or enum expected panel.add(BorderLayout.CENTER, new JScrollPane(list)); ^ /root/JavaX-Caches/tmp_273314336/main.java:33: error: class, interface, or enum expected new PopupMenuHelper() { ^ /root/JavaX-Caches/tmp_273314336/main.java:36: error: class, interface, or enum expected int idx = list.locationToIndex(point); ^ /root/JavaX-Caches/tmp_273314336/main.java:37: error: class, interface, or enum expected final String item = cast list.getModel().getElementAt(idx); ^ /root/JavaX-Caches/tmp_273314336/main.java:38: error: class, interface, or enum expected list.setSelectedIndex(idx); ^ /root/JavaX-Caches/tmp_273314336/main.java:39: error: class, interface, or enum expected mi = new JMenuItem("RUN! (warning: no questions asked)"); ^ /root/JavaX-Caches/tmp_273314336/main.java:40: error: class, interface, or enum expected mi.addActionListener(actionListener { run(item); }); ^ /root/JavaX-Caches/tmp_273314336/main.java:40: error: class, interface, or enum expected mi.addActionListener(actionListener { run(item); }); ^ /root/JavaX-Caches/tmp_273314336/main.java:41: error: class, interface, or enum expected menu.add(mi); ^ /root/JavaX-Caches/tmp_273314336/main.java:42: error: class, interface, or enum expected mi = new JMenuItem("Run with arguments..."); ^ /root/JavaX-Caches/tmp_273314336/main.java:43: error: class, interface, or enum expected mi.addActionListener(actionListener { runWithArguments(item); }); ^ /root/JavaX-Caches/tmp_273314336/main.java:43: error: class, interface, or enum expected mi.addActionListener(actionListener { runWithArguments(item); }); ^ /root/JavaX-Caches/tmp_273314336/main.java:44: error: class, interface, or enum expected menu.add(mi); ^ /root/JavaX-Caches/tmp_273314336/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:48: error: class, interface, or enum expected tfCmd = new JTextField(); ^ /root/JavaX-Caches/tmp_273314336/main.java:49: error: class, interface, or enum expected panel.add(BorderLayout.NORTH, withLabel("Search term:", tfCmd)); ^ /root/JavaX-Caches/tmp_273314336/main.java:51: error: class, interface, or enum expected status = new JLabel(" "); ^ /root/JavaX-Caches/tmp_273314336/main.java:52: error: class, interface, or enum expected panel.add(BorderLayout.SOUTH, status); ^ /root/JavaX-Caches/tmp_273314336/main.java:54: error: class, interface, or enum expected tfCmd.addActionListener(actionListener { ^ /root/JavaX-Caches/tmp_273314336/main.java:56: error: class, interface, or enum expected final String cmd = tfCmd.getText(); ^ /root/JavaX-Caches/tmp_273314336/main.java:57: error: class, interface, or enum expected thread { ^ /root/JavaX-Caches/tmp_273314336/main.java:60: error: class, interface, or enum expected search(cmd); ^ /root/JavaX-Caches/tmp_273314336/main.java:61: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_273314336/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:67: error: class, interface, or enum expected frame.addWindowListener(new WindowAdapter() { ^ /root/JavaX-Caches/tmp_273314336/main.java:68: error: class, interface, or enum expected public void windowOpened(WindowEvent e) { ^ /root/JavaX-Caches/tmp_273314336/main.java:70: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:73: error: class, interface, or enum expected installTimer(tfCmd, new Runnable() { ^ /root/JavaX-Caches/tmp_273314336/main.java:75: error: class, interface, or enum expected boolean autoSearchOn = true; ^ /root/JavaX-Caches/tmp_273314336/main.java:77: error: class, interface, or enum expected public void run() { ^ /root/JavaX-Caches/tmp_273314336/main.java:79: error: class, interface, or enum expected if (text.equals(lastContents)) { ^ /root/JavaX-Caches/tmp_273314336/main.java:82: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_273314336/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:87: error: class, interface, or enum expected frame.add(panel); ^ /root/JavaX-Caches/tmp_273314336/main.java:88: error: class, interface, or enum expected frame.setBounds(100, 100, 500, 400); ^ /root/JavaX-Caches/tmp_273314336/main.java:89: error: class, interface, or enum expected frame.setVisible(true); ^ /root/JavaX-Caches/tmp_273314336/main.java:90: error: class, interface, or enum expected exitOnFrameClose(frame); ^ /root/JavaX-Caches/tmp_273314336/main.java:92: error: class, interface, or enum expected search(""); ^ /root/JavaX-Caches/tmp_273314336/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:97: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_273314336/main.java:99: error: class, interface, or enum expected if (cmd == "") cmd = "%"; ^ /root/JavaX-Caches/tmp_273314336/main.java:100: error: class, interface, or enum expected S page = loadPage("http://tinybrain.de:8080/tb/search.php?q=" + urlencode(cmd + " type:runnable")); ^ /root/JavaX-Caches/tmp_273314336/main.java:101: error: class, interface, or enum expected Matcher m = Pattern.compile(">(#\\d+)</a> - (.*?)<br>").matcher(page); ^ /root/JavaX-Caches/tmp_273314336/main.java:103: error: class, interface, or enum expected final new DefaultListModel<S> model; ^ /root/JavaX-Caches/tmp_273314336/main.java:104: error: class, interface, or enum expected while (m.find()) ^ /root/JavaX-Caches/tmp_273314336/main.java:107: error: class, interface, or enum expected awt { ^ /root/JavaX-Caches/tmp_273314336/main.java:109: error: class, interface, or enum expected status("Found " + model.size() + " runnable(s)."); ^ /root/JavaX-Caches/tmp_273314336/main.java:110: error: class, interface, or enum expected tfCmd.requestFocus(); ^ /root/JavaX-Caches/tmp_273314336/main.java:111: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:114: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:117: error: class, interface, or enum expected static void status(final S s) { ^ /root/JavaX-Caches/tmp_273314336/main.java:118: error: class, interface, or enum expected awt { status.setText(s); } ^ /root/JavaX-Caches/tmp_273314336/main.java:123: error: class, interface, or enum expected if (i >= 0) item = item.substring(0, i); ^ /root/JavaX-Caches/tmp_273314336/main.java:124: error: class, interface, or enum expected long id = parseSnippetID(item); ^ /root/JavaX-Caches/tmp_273314336/main.java:125: error: class, interface, or enum expected print("Running " + id); ^ /root/JavaX-Caches/tmp_273314336/main.java:126: error: class, interface, or enum expected nohupJavax("#1000874".substring(1) + " " + id); ^ /root/JavaX-Caches/tmp_273314336/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_273314336/main.java:135: error: class, interface, or enum expected thread { ^ /root/JavaX-Caches/tmp_273314336/main.java:137: error: class, interface, or enum expected } ^ 73 errors