Wrote /root/JavaX-Caches/tmp_272863118/main.java - 8652 bytes (written=8652, should be 8652) 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:/root/.tinybrain/snippet-cache/1400546.jar:/root/.tinybrain/snippet-cache/1400547.jar:/root/.tinybrain/snippet-cache/1400548.jar -d /root/JavaX-Caches/tmp_1812258040 /root/JavaX-Caches/tmp_272863118/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_272863118/main.java:1: error: class, interface, or enum expected sclass RSyntaxTextAreaWithSearch is SearchListener, Swingable { ^ /root/JavaX-Caches/tmp_272863118/main.java:3: error: class, interface, or enum expected gettable volatile RSyntaxTextArea textArea; ^ /root/JavaX-Caches/tmp_272863118/main.java:4: error: class, interface, or enum expected CollapsibleSectionPanel csp; ^ /root/JavaX-Caches/tmp_272863118/main.java:6: error: class, interface, or enum expected FindDialog findDialog; ^ /root/JavaX-Caches/tmp_272863118/main.java:7: error: class, interface, or enum expected ReplaceDialog replaceDialog; ^ /root/JavaX-Caches/tmp_272863118/main.java:9: error: class, interface, or enum expected FindToolBar findToolBar; ^ /root/JavaX-Caches/tmp_272863118/main.java:10: error: class, interface, or enum expected ReplaceToolBar replaceToolBar; ^ /root/JavaX-Caches/tmp_272863118/main.java:12: error: class, interface, or enum expected StatusBar statusBar; ^ /root/JavaX-Caches/tmp_272863118/main.java:14: error: class, interface, or enum expected *() { init(); } ^ /root/JavaX-Caches/tmp_272863118/main.java:14: error: class, interface, or enum expected *() { init(); } ^ /root/JavaX-Caches/tmp_272863118/main.java:15: error: class, interface, or enum expected *(IF1<JComponent> *wrapStatusLabel) { init(); } ^ /root/JavaX-Caches/tmp_272863118/main.java:16: error: class, interface, or enum expected *(S text) { init(); setText(text); } ^ /root/JavaX-Caches/tmp_272863118/main.java:16: error: class, interface, or enum expected *(S text) { init(); setText(text); } ^ /root/JavaX-Caches/tmp_272863118/main.java:17: error: class, interface, or enum expected *(RSyntaxTextArea *textArea) { init(); } ^ /root/JavaX-Caches/tmp_272863118/main.java:21: error: class, interface, or enum expected void init() swing { ^ /root/JavaX-Caches/tmp_272863118/main.java:23: error: class, interface, or enum expected initSearchDialogs(); ^ /root/JavaX-Caches/tmp_272863118/main.java:25: error: class, interface, or enum expected panel = new JPanel(new BorderLayout); ^ /root/JavaX-Caches/tmp_272863118/main.java:26: error: class, interface, or enum expected csp = new CollapsibleSectionPanel; ^ /root/JavaX-Caches/tmp_272863118/main.java:27: error: class, interface, or enum expected panel.add(csp); ^ /root/JavaX-Caches/tmp_272863118/main.java:29: error: class, interface, or enum expected textArea if null = javaxSyntaxTextArea(); ^ /root/JavaX-Caches/tmp_272863118/main.java:30: error: class, interface, or enum expected RTextScrollPane sp = new RTextScrollPane(textArea); ^ /root/JavaX-Caches/tmp_272863118/main.java:31: error: class, interface, or enum expected csp.add(sp); ^ /root/JavaX-Caches/tmp_272863118/main.java:33: error: class, interface, or enum expected ErrorStrip errorStrip = new(textArea); ^ /root/JavaX-Caches/tmp_272863118/main.java:34: error: class, interface, or enum expected panel.add(errorStrip, BorderLayout.LINE_END); ^ /root/JavaX-Caches/tmp_272863118/main.java:36: error: class, interface, or enum expected statusBar = new StatusBar; ^ /root/JavaX-Caches/tmp_272863118/main.java:37: error: class, interface, or enum expected panel.add(statusBar, BorderLayout.SOUTH); ^ /root/JavaX-Caches/tmp_272863118/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:40: error: class, interface, or enum expected swappable JComponent wrapStatusLabel(JComponent label) { ret label; } ^ /root/JavaX-Caches/tmp_272863118/main.java:44: error: class, interface, or enum expected bg.add(item); ^ /root/JavaX-Caches/tmp_272863118/main.java:45: error: class, interface, or enum expected menu.add(item); ^ /root/JavaX-Caches/tmp_272863118/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:52: error: class, interface, or enum expected for (menu : getMenus(mb)) ^ /root/JavaX-Caches/tmp_272863118/main.java:56: error: class, interface, or enum expected if (ks != null) { ^ /root/JavaX-Caches/tmp_272863118/main.java:59: error: class, interface, or enum expected textArea.getInputMap().put(ks, action); ^ /root/JavaX-Caches/tmp_272863118/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:66: error: class, interface, or enum expected JMenu menu = new JMenu("Search"); ^ /root/JavaX-Caches/tmp_272863118/main.java:67: error: class, interface, or enum expected menu.add(new JMenuItem(new ShowFindDialogAction())); ^ /root/JavaX-Caches/tmp_272863118/main.java:68: error: class, interface, or enum expected menu.add(new JMenuItem(new ShowReplaceDialogAction())); ^ /root/JavaX-Caches/tmp_272863118/main.java:69: error: class, interface, or enum expected menu.add(new JMenuItem(new GoToLineAction())); ^ /root/JavaX-Caches/tmp_272863118/main.java:70: error: class, interface, or enum expected menu.addSeparator(); ^ /root/JavaX-Caches/tmp_272863118/main.java:72: error: class, interface, or enum expected int ctrl = getToolkit().getMenuShortcutKeyMask(); ^ /root/JavaX-Caches/tmp_272863118/main.java:73: error: class, interface, or enum expected int shift = InputEvent.SHIFT_MASK; ^ /root/JavaX-Caches/tmp_272863118/main.java:74: error: class, interface, or enum expected KeyStroke ks = KeyStroke.getKeyStroke(KeyEvent.VK_F, ctrl|shift); ^ /root/JavaX-Caches/tmp_272863118/main.java:75: error: class, interface, or enum expected Action a = csp.addBottomComponent(ks, findToolBar); ^ /root/JavaX-Caches/tmp_272863118/main.java:76: error: class, interface, or enum expected a.putValue(Action.NAME, "Show Find Search Bar"); ^ /root/JavaX-Caches/tmp_272863118/main.java:77: error: class, interface, or enum expected menu.add(new JMenuItem(a)); ^ /root/JavaX-Caches/tmp_272863118/main.java:78: error: class, interface, or enum expected ks = KeyStroke.getKeyStroke(KeyEvent.VK_H, ctrl|shift); ^ /root/JavaX-Caches/tmp_272863118/main.java:79: error: class, interface, or enum expected a = csp.addBottomComponent(ks, replaceToolBar); ^ /root/JavaX-Caches/tmp_272863118/main.java:80: error: class, interface, or enum expected a.putValue(Action.NAME, "Show Replace Search Bar"); ^ /root/JavaX-Caches/tmp_272863118/main.java:81: error: class, interface, or enum expected menu.add(new JMenuItem(a)); ^ /root/JavaX-Caches/tmp_272863118/main.java:83: error: class, interface, or enum expected mb.add(menu); ^ /root/JavaX-Caches/tmp_272863118/main.java:84: error: class, interface, or enum expected ret mb; ^ /root/JavaX-Caches/tmp_272863118/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:87: error: class, interface, or enum expected public String getSelectedText() { ^ /root/JavaX-Caches/tmp_272863118/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:94: error: class, interface, or enum expected public void initSearchDialogs() { ^ /root/JavaX-Caches/tmp_272863118/main.java:97: error: class, interface, or enum expected replaceDialog = new ReplaceDialog((java.awt.Dialog) null, this); ^ /root/JavaX-Caches/tmp_272863118/main.java:101: error: class, interface, or enum expected SearchContext context = findDialog.getSearchContext(); ^ /root/JavaX-Caches/tmp_272863118/main.java:102: error: class, interface, or enum expected replaceDialog.setSearchContext(context); ^ /root/JavaX-Caches/tmp_272863118/main.java:105: error: class, interface, or enum expected findToolBar = new FindToolBar(this); ^ /root/JavaX-Caches/tmp_272863118/main.java:106: error: class, interface, or enum expected findToolBar.setSearchContext(context); ^ /root/JavaX-Caches/tmp_272863118/main.java:107: error: class, interface, or enum expected replaceToolBar = new ReplaceToolBar(this); ^ /root/JavaX-Caches/tmp_272863118/main.java:108: error: class, interface, or enum expected replaceToolBar.setSearchContext(context); ^ /root/JavaX-Caches/tmp_272863118/main.java:110: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:118: error: class, interface, or enum expected public void searchEvent(SearchEvent e) { ^ /root/JavaX-Caches/tmp_272863118/main.java:121: error: class, interface, or enum expected SearchContext context = e.getSearchContext(); ^ /root/JavaX-Caches/tmp_272863118/main.java:122: error: class, interface, or enum expected SearchResult result = null; ^ /root/JavaX-Caches/tmp_272863118/main.java:124: error: class, interface, or enum expected switch (type) { ^ /root/JavaX-Caches/tmp_272863118/main.java:128: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_272863118/main.java:129: error: class, interface, or enum expected case FIND: ^ /root/JavaX-Caches/tmp_272863118/main.java:132: error: class, interface, or enum expected if (!result.wasFound()) ^ /root/JavaX-Caches/tmp_272863118/main.java:136: error: class, interface, or enum expected int pos = c.getDot(); ^ /root/JavaX-Caches/tmp_272863118/main.java:137: error: class, interface, or enum expected if (context.getSearchForward()) ^ /root/JavaX-Caches/tmp_272863118/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:144: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:146: error: class, interface, or enum expected if (!result.wasFound()) ^ /root/JavaX-Caches/tmp_272863118/main.java:149: error: class, interface, or enum expected UIManager.getLookAndFeel().provideErrorFeedback(textArea); ^ /root/JavaX-Caches/tmp_272863118/main.java:150: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:153: error: class, interface, or enum expected case REPLACE: ^ /root/JavaX-Caches/tmp_272863118/main.java:155: error: class, interface, or enum expected if (!result.wasFound()) { ^ /root/JavaX-Caches/tmp_272863118/main.java:157: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:159: error: class, interface, or enum expected case REPLACE_ALL: ^ /root/JavaX-Caches/tmp_272863118/main.java:161: error: class, interface, or enum expected JOptionPane.showMessageDialog(null, result.getCount() + ^ /root/JavaX-Caches/tmp_272863118/main.java:163: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_272863118/main.java:164: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:167: error: class, interface, or enum expected if (result.wasFound()) { ^ /root/JavaX-Caches/tmp_272863118/main.java:169: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:173: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:176: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:180: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:182: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_272863118/main.java:185: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_272863118/main.java:211: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_272863118/main.java:224: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_272863118/main.java:239: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_272863118/main.java:247: error: ';' expected main setText(this.label, shorten(1000, label)); ^ /root/JavaX-Caches/tmp_272863118/main.java:247: error: not a statement main setText(this.label, shorten(1000, label)); ^ /root/JavaX-Caches/tmp_272863118/main.java:247: error: ';' expected main setText(this.label, shorten(1000, label)); ^ /root/JavaX-Caches/tmp_272863118/main.java:247: error: ';' expected main setText(this.label, shorten(1000, label)); ^ /root/JavaX-Caches/tmp_272863118/main.java:251: error: class, interface, or enum expected void setStatus(S text) { ^ 100 errors only showing the first 100 errors, of 117 total; use -Xmaxerrs if you would like to see more