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

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

/root/JavaX-Caches/tmp_1121437484/main.java:1: error: class, interface, or enum expected sclass PGauge extends PApplet2 { ^ /root/JavaX-Caches/tmp_1121437484/main.java:4: error: class, interface, or enum expected PFont fontA; ^ /root/JavaX-Caches/tmp_1121437484/main.java:5: error: class, interface, or enum expected int Tx, Ty, P0, P180; // Tx/Ty position text indicator P0/P180 start & End point of Arrow ^ /root/JavaX-Caches/tmp_1121437484/main.java:6: error: class, interface, or enum expected int Wsize1 = 300; //Wsize1 & Wsize2 = tamanho janela ^ /root/JavaX-Caches/tmp_1121437484/main.java:7: error: class, interface, or enum expected int Wsize2 = 300; ^ /root/JavaX-Caches/tmp_1121437484/main.java:8: error: class, interface, or enum expected int gauge = 1; // Gauge1 and Gauge2 are 2 example gauges ^ /root/JavaX-Caches/tmp_1121437484/main.java:9: error: class, interface, or enum expected float value, maxValue = 180, precision = 0.1f; ^ /root/JavaX-Caches/tmp_1121437484/main.java:10: error: class, interface, or enum expected bool demo; ^ /root/JavaX-Caches/tmp_1121437484/main.java:12: error: class, interface, or enum expected void mouseMoved() { ^ /root/JavaX-Caches/tmp_1121437484/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:19: error: class, interface, or enum expected ret setValue(newValue); ^ /root/JavaX-Caches/tmp_1121437484/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:28: error: class, interface, or enum expected value = newValue; ^ /root/JavaX-Caches/tmp_1121437484/main.java:29: error: class, interface, or enum expected if (floorRatio(oldValue, precision) != floorRatio(newValue, precision)) ^ /root/JavaX-Caches/tmp_1121437484/main.java:31: error: class, interface, or enum expected false; ^ /root/JavaX-Caches/tmp_1121437484/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:40: error: class, interface, or enum expected switch (gauge) { ^ /root/JavaX-Caches/tmp_1121437484/main.java:42: error: illegal character: '#' mostrador = loadImage(loadImageAsFilePath(#1101160)/*"Gauge B&P Marshall 180.png"*/); ^ /root/JavaX-Caches/tmp_1121437484/main.java:43: error: class, interface, or enum expected ponteiro = loadImage(loadImageAsFilePath(#1101161)/*"marshall B&P ponteiro.png"*/); //loadImage("Ponteiro_Vermelho.png"); ^ /root/JavaX-Caches/tmp_1121437484/main.java:43: error: illegal character: '#' ponteiro = loadImage(loadImageAsFilePath(#1101161)/*"marshall B&P ponteiro.png"*/); //loadImage("Ponteiro_Vermelho.png"); ^ /root/JavaX-Caches/tmp_1121437484/main.java:44: error: class, interface, or enum expected Tx=-20 ; Ty=58; P0=0 ; P180=272 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:44: error: class, interface, or enum expected Tx=-20 ; Ty=58; P0=0 ; P180=272 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:44: error: class, interface, or enum expected Tx=-20 ; Ty=58; P0=0 ; P180=272 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:44: error: class, interface, or enum expected Tx=-20 ; Ty=58; P0=0 ; P180=272 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:45: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1121437484/main.java:46: error: class, interface, or enum expected case 2: ^ /root/JavaX-Caches/tmp_1121437484/main.java:47: error: illegal character: '#' mostrador = loadImage(loadImageAsFilePath(#1101163)/*"gauge.png"*/); ^ /root/JavaX-Caches/tmp_1121437484/main.java:48: error: class, interface, or enum expected ponteiro = loadImage(loadImageAsFilePath(#1101162)/*"Ponteiro_Vermelho.png"*/); //loadImage("Ponteiro_Vermelho.png"); ^ /root/JavaX-Caches/tmp_1121437484/main.java:48: error: illegal character: '#' ponteiro = loadImage(loadImageAsFilePath(#1101162)/*"Ponteiro_Vermelho.png"*/); //loadImage("Ponteiro_Vermelho.png"); ^ /root/JavaX-Caches/tmp_1121437484/main.java:49: error: class, interface, or enum expected Tx=-17 ; Ty=74; P0=-226 ; P180=46 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:49: error: class, interface, or enum expected Tx=-17 ; Ty=74; P0=-226 ; P180=46 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:49: error: class, interface, or enum expected Tx=-17 ; Ty=74; P0=-226 ; P180=46 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:49: error: class, interface, or enum expected Tx=-17 ; Ty=74; P0=-226 ; P180=46 ; ^ /root/JavaX-Caches/tmp_1121437484/main.java:50: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1121437484/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:53: error: class, interface, or enum expected fontA = createFont(libraryPath(#1014271/*"dutcheb.ttf"*/), 20); //numeric indication of the Angle ^ /root/JavaX-Caches/tmp_1121437484/main.java:53: error: illegal character: '#' fontA = createFont(libraryPath(#1014271/*"dutcheb.ttf"*/), 20); //numeric indication of the Angle ^ /root/JavaX-Caches/tmp_1121437484/main.java:54: error: class, interface, or enum expected textFont(fontA); ^ /root/JavaX-Caches/tmp_1121437484/main.java:56: error: class, interface, or enum expected noLoop(); ^ /root/JavaX-Caches/tmp_1121437484/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:62: error: class, interface, or enum expected stroke(153); ^ /root/JavaX-Caches/tmp_1121437484/main.java:63: error: class, interface, or enum expected translate(Wsize1/2, Wsize2/2); // posiciona o mostrador no centro da tela ^ /root/JavaX-Caches/tmp_1121437484/main.java:64: error: class, interface, or enum expected image(mostrador, 0 , 0 , Wsize1*0.9f, Wsize2*0.9f); // imagem, coluna, linha, Widt, Height ^ /root/JavaX-Caches/tmp_1121437484/main.java:65: error: class, interface, or enum expected float rodar = min(P180*1.05f, map(value, 0,maxValue,P0,P180)); //mouseX movement 0 & 360 grauss for Arrow ^ /root/JavaX-Caches/tmp_1121437484/main.java:66: error: class, interface, or enum expected float angulo = map(value, 0,maxValue,0,181); //Numeric mouseX movement 0 & 360 grauss ^ /root/JavaX-Caches/tmp_1121437484/main.java:67: error: class, interface, or enum expected fill(255,255,255); // Text Color = Blank ^ /root/JavaX-Caches/tmp_1121437484/main.java:68: error: class, interface, or enum expected text((int) angulo, Tx,Ty); // Position of Text with Numeric Angle ^ /root/JavaX-Caches/tmp_1121437484/main.java:69: error: class, interface, or enum expected rotate(radians((int) rodar)); // Rotate the Arrow as "rodar" value ^ /root/JavaX-Caches/tmp_1121437484/main.java:70: error: class, interface, or enum expected switch(gauge) { ^ /root/JavaX-Caches/tmp_1121437484/main.java:73: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1121437484/main.java:74: error: class, interface, or enum expected case 2: ^ /root/JavaX-Caches/tmp_1121437484/main.java:76: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1121437484/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1121437484/main.java:80: error: class, interface, or enum expected PGauge type(int type) { gauge = type; this; } ^ /root/JavaX-Caches/tmp_1121437484/main.java:80: error: class, interface, or enum expected PGauge type(int type) { gauge = type; this; } ^ 57 errors