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

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

/root/JavaX-Caches/tmp_1962314630/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1962314630/main.java:5: error: class, interface, or enum expected private Map<String, Component> map = new TreeMap<String, Component>(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:6: error: class, interface, or enum expected private int spacingX = 10, spacingY = 10; ^ /root/JavaX-Caches/tmp_1962314630/main.java:7: error: class, interface, or enum expected private int insetTop, insetBottom, insetLeft, insetRight; ^ /root/JavaX-Caches/tmp_1962314630/main.java:9: error: class, interface, or enum expected boolean debug; ^ /root/JavaX-Caches/tmp_1962314630/main.java:11: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1962314630/main.java:14: error: class, interface, or enum expected public void removeLayoutComponent(Component component) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:18: error: class, interface, or enum expected public void layoutContainer(Container container) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:23: error: class, interface, or enum expected if (debug) ^ /root/JavaX-Caches/tmp_1962314630/main.java:26: error: class, interface, or enum expected Insets insets = getInsets(container); ^ /root/JavaX-Caches/tmp_1962314630/main.java:27: error: class, interface, or enum expected for (int r = 0; r < rows.length; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:27: error: class, interface, or enum expected for (int r = 0; r < rows.length; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:27: error: class, interface, or enum expected for (int r = 0; r < rows.length; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:28: error: class, interface, or enum expected for (int i = 0; i < cols.length;) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:28: error: class, interface, or enum expected for (int i = 0; i < cols.length;) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:30: error: class, interface, or enum expected if (cell.aux) ^ /root/JavaX-Caches/tmp_1962314630/main.java:32: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1962314630/main.java:35: error: class, interface, or enum expected int y1 = rows[r].start; ^ /root/JavaX-Caches/tmp_1962314630/main.java:36: error: class, interface, or enum expected int x2 = i + cell.colspan < cols.length ? cols[i + cell.colspan].start - spacingX : container.getWidth() - insets.right; ^ /root/JavaX-Caches/tmp_1962314630/main.java:37: error: class, interface, or enum expected int y2 = r + cell.rowspan < rows.length ? rows[r + cell.rowspan].start - spacingY : container.getHeight() - insets.bottom; ^ /root/JavaX-Caches/tmp_1962314630/main.java:39: error: class, interface, or enum expected if (debug) ^ /root/JavaX-Caches/tmp_1962314630/main.java:42: error: class, interface, or enum expected cell.component.setBounds(x1, y1, x2 - x1, y2 - y1); ^ /root/JavaX-Caches/tmp_1962314630/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:52: error: class, interface, or enum expected for (int i = 1; i < numRows; i++) if (lines[i].length() != numCols) ^ /root/JavaX-Caches/tmp_1962314630/main.java:52: error: class, interface, or enum expected for (int i = 1; i < numRows; i++) if (lines[i].length() != numCols) ^ /root/JavaX-Caches/tmp_1962314630/main.java:52: error: class, interface, or enum expected for (int i = 1; i < numRows; i++) if (lines[i].length() != numCols) ^ /root/JavaX-Caches/tmp_1962314630/main.java:54: error: class, interface, or enum expected cells = new Cell[numCols][numRows]; ^ /root/JavaX-Caches/tmp_1962314630/main.java:55: error: class, interface, or enum expected rows = new RC[numRows]; ^ /root/JavaX-Caches/tmp_1962314630/main.java:56: error: class, interface, or enum expected cols = new RC[numCols]; ^ /root/JavaX-Caches/tmp_1962314630/main.java:58: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) rows[r] = new RC(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:58: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) rows[r] = new RC(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:58: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) rows[r] = new RC(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:59: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) cols[i] = new RC(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:59: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) cols[i] = new RC(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:59: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) cols[i] = new RC(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:60: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) for (int i = 0; i < numCols; i++) cells[i][r] = new Cell(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:60: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) for (int i = 0; i < numCols; i++) cells[i][r] = new Cell(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:60: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) for (int i = 0; i < numCols; i++) cells[i][r] = new Cell(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:60: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) for (int i = 0; i < numCols; i++) cells[i][r] = new Cell(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:60: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) for (int i = 0; i < numCols; i++) cells[i][r] = new Cell(); ^ /root/JavaX-Caches/tmp_1962314630/main.java:64: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:64: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:64: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:66: error: class, interface, or enum expected for (int i = 0; i < numCols;) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:66: error: class, interface, or enum expected for (int i = 0; i < numCols;) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:66: error: class, interface, or enum expected for (int i = 0; i < numCols;) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:68: error: class, interface, or enum expected if (cell.aux) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:70: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1962314630/main.java:71: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:73: error: class, interface, or enum expected int iNext = i; ^ /root/JavaX-Caches/tmp_1962314630/main.java:74: error: class, interface, or enum expected do ++iNext; while (iNext < numCols && ch == line.charAt(iNext)); ^ /root/JavaX-Caches/tmp_1962314630/main.java:74: error: class, interface, or enum expected do ++iNext; while (iNext < numCols && ch == line.charAt(iNext)); ^ /root/JavaX-Caches/tmp_1962314630/main.java:75: error: class, interface, or enum expected int rNext = r; ^ /root/JavaX-Caches/tmp_1962314630/main.java:76: error: class, interface, or enum expected do ++rNext; while (rNext < numRows && ch == lines[rNext].charAt(i)); ^ /root/JavaX-Caches/tmp_1962314630/main.java:76: error: class, interface, or enum expected do ++rNext; while (rNext < numRows && ch == lines[rNext].charAt(i)); ^ /root/JavaX-Caches/tmp_1962314630/main.java:78: error: class, interface, or enum expected cell.weightX = numCols == 1 || iNext > i + 1 ? 1.0 : 0.0; ^ /root/JavaX-Caches/tmp_1962314630/main.java:79: error: class, interface, or enum expected cell.weightY = numRows == 1 || rNext > r + 1 ? 1.0 : 0.0; ^ /root/JavaX-Caches/tmp_1962314630/main.java:81: error: class, interface, or enum expected Component c = map.get(String.valueOf(ch)); ^ /root/JavaX-Caches/tmp_1962314630/main.java:82: error: class, interface, or enum expected cell.component = c; ^ /root/JavaX-Caches/tmp_1962314630/main.java:83: error: class, interface, or enum expected if (c != null) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:85: error: class, interface, or enum expected cell.minHeight = getMinimumHeight(c) + spacingY; ^ /root/JavaX-Caches/tmp_1962314630/main.java:86: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:88: error: class, interface, or enum expected cell.rowspan = rNext - r; ^ /root/JavaX-Caches/tmp_1962314630/main.java:90: error: class, interface, or enum expected if (cell.colspan == 1) ^ /root/JavaX-Caches/tmp_1962314630/main.java:92: error: class, interface, or enum expected if (cell.rowspan == 1) ^ /root/JavaX-Caches/tmp_1962314630/main.java:95: error: class, interface, or enum expected for (int r2 = r; r2 < rNext; r2++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:95: error: class, interface, or enum expected for (int r2 = r; r2 < rNext; r2++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:95: error: class, interface, or enum expected for (int r2 = r; r2 < rNext; r2++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:96: error: class, interface, or enum expected for (int i2 = i; i2 < iNext; i2++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:96: error: class, interface, or enum expected for (int i2 = i; i2 < iNext; i2++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:100: error: class, interface, or enum expected i = iNext; ^ /root/JavaX-Caches/tmp_1962314630/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:107: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:107: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:109: error: class, interface, or enum expected double weightStart = i == 0 ? 0.0 : cols[i - 1].weightSum; ^ /root/JavaX-Caches/tmp_1962314630/main.java:110: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:110: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:110: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:112: error: class, interface, or enum expected if (!cell.aux) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:114: error: class, interface, or enum expected rc.minEnd = Math.max(rc.minEnd, minStart + cell.minWidth); ^ /root/JavaX-Caches/tmp_1962314630/main.java:115: error: class, interface, or enum expected rc.weightSum = Math.max(rc.weightSum, weightStart + cell.weightX); ^ /root/JavaX-Caches/tmp_1962314630/main.java:116: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:120: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:120: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:122: error: class, interface, or enum expected double weightStart = r == 0 ? 0.0 : rows[r - 1].weightSum; ^ /root/JavaX-Caches/tmp_1962314630/main.java:123: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:123: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:123: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:125: error: class, interface, or enum expected if (!cell.aux) { ^ /root/JavaX-Caches/tmp_1962314630/main.java:127: error: class, interface, or enum expected rc.minEnd = Math.max(rc.minEnd, minStart + cell.minHeight); ^ /root/JavaX-Caches/tmp_1962314630/main.java:128: error: class, interface, or enum expected rc.weightSum = Math.max(rc.weightSum, weightStart + cell.weightY); ^ /root/JavaX-Caches/tmp_1962314630/main.java:129: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1962314630/main.java:134: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:134: error: class, interface, or enum expected for (int r = 0; r < numRows; r++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:135: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:135: error: class, interface, or enum expected for (int i = 0; i < numCols; i++) ^ /root/JavaX-Caches/tmp_1962314630/main.java:137: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1962314630/main.java:138: error: class, interface, or enum expected } ^ 100 errors only showing the first 100 errors, of 190 total; use -Xmaxerrs if you would like to see more