Wrote /root/JavaX-Caches/tmp_1787603760/main.java - 2844 bytes (written=2844, should be 2844)
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_305629996 /root/JavaX-Caches/tmp_1787603760/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1787603760/main.java:1: error: class, interface, or enum expected
sclass PGauge_processing2 extends PApplet2 {
^
/root/JavaX-Caches/tmp_1787603760/main.java:3: error: class, interface, or enum expected
PFont fontA;
^
/root/JavaX-Caches/tmp_1787603760/main.java:4: 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_1787603760/main.java:5: error: class, interface, or enum expected
int Wsize1 = 300; //Wsize1 & Wsize2 = tamanho janela
^
/root/JavaX-Caches/tmp_1787603760/main.java:6: error: class, interface, or enum expected
int Wsize2 = 300;
^
/root/JavaX-Caches/tmp_1787603760/main.java:7: error: class, interface, or enum expected
int gauge = 1; // Gauge1 and Gauge2 are 2 example gauges
^
/root/JavaX-Caches/tmp_1787603760/main.java:8: error: class, interface, or enum expected
float value, maxValue = 180, precision = 0.1f;
^
/root/JavaX-Caches/tmp_1787603760/main.java:9: error: class, interface, or enum expected
bool demo;
^
/root/JavaX-Caches/tmp_1787603760/main.java:11: error: class, interface, or enum expected
void mouseMoved() {
^
/root/JavaX-Caches/tmp_1787603760/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:18: error: class, interface, or enum expected
setTitle(title);
^
/root/JavaX-Caches/tmp_1787603760/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:27: error: class, interface, or enum expected
value = newValue;
^
/root/JavaX-Caches/tmp_1787603760/main.java:28: error: class, interface, or enum expected
if (floorRatio(oldValue, precision) != floorRatio(newValue, precision))
^
/root/JavaX-Caches/tmp_1787603760/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:38: error: class, interface, or enum expected
switch (gauge) {
^
/root/JavaX-Caches/tmp_1787603760/main.java:40: error: illegal character: '#'
mostrador = loadImage(loadImageAsFilePath(#1101160)/*"Gauge B&P Marshall 180.png"*/);
^
/root/JavaX-Caches/tmp_1787603760/main.java:41: error: class, interface, or enum expected
ponteiro = loadImage(loadImageAsFilePath(#1101161)/*"marshall B&P ponteiro.png"*/); //loadImage("Ponteiro_Vermelho.png");
^
/root/JavaX-Caches/tmp_1787603760/main.java:41: error: illegal character: '#'
ponteiro = loadImage(loadImageAsFilePath(#1101161)/*"marshall B&P ponteiro.png"*/); //loadImage("Ponteiro_Vermelho.png");
^
/root/JavaX-Caches/tmp_1787603760/main.java:42: error: class, interface, or enum expected
Tx=-20 ; Ty=58; P0=0 ; P180=272 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:42: error: class, interface, or enum expected
Tx=-20 ; Ty=58; P0=0 ; P180=272 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:42: error: class, interface, or enum expected
Tx=-20 ; Ty=58; P0=0 ; P180=272 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:42: error: class, interface, or enum expected
Tx=-20 ; Ty=58; P0=0 ; P180=272 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:43: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1787603760/main.java:44: error: class, interface, or enum expected
case 2:
^
/root/JavaX-Caches/tmp_1787603760/main.java:45: error: illegal character: '#'
mostrador = loadImage(loadImageAsFilePath(#1101163)/*"gauge.png"*/);
^
/root/JavaX-Caches/tmp_1787603760/main.java:46: error: class, interface, or enum expected
ponteiro = loadImage(loadImageAsFilePath(#1101162)/*"Ponteiro_Vermelho.png"*/); //loadImage("Ponteiro_Vermelho.png");
^
/root/JavaX-Caches/tmp_1787603760/main.java:46: error: illegal character: '#'
ponteiro = loadImage(loadImageAsFilePath(#1101162)/*"Ponteiro_Vermelho.png"*/); //loadImage("Ponteiro_Vermelho.png");
^
/root/JavaX-Caches/tmp_1787603760/main.java:47: error: class, interface, or enum expected
Tx=-17 ; Ty=74; P0=-226 ; P180=46 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:47: error: class, interface, or enum expected
Tx=-17 ; Ty=74; P0=-226 ; P180=46 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:47: error: class, interface, or enum expected
Tx=-17 ; Ty=74; P0=-226 ; P180=46 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:47: error: class, interface, or enum expected
Tx=-17 ; Ty=74; P0=-226 ; P180=46 ;
^
/root/JavaX-Caches/tmp_1787603760/main.java:48: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1787603760/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:51: error: class, interface, or enum expected
fontA = createFont(libraryPath(#1014271/*"dutcheb.ttf"*/), 20); //numeric indication of the Angle
^
/root/JavaX-Caches/tmp_1787603760/main.java:51: error: illegal character: '#'
fontA = createFont(libraryPath(#1014271/*"dutcheb.ttf"*/), 20); //numeric indication of the Angle
^
/root/JavaX-Caches/tmp_1787603760/main.java:52: error: class, interface, or enum expected
textFont(fontA);
^
/root/JavaX-Caches/tmp_1787603760/main.java:54: error: class, interface, or enum expected
noLoop();
^
/root/JavaX-Caches/tmp_1787603760/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:60: error: class, interface, or enum expected
stroke(153);
^
/root/JavaX-Caches/tmp_1787603760/main.java:61: error: class, interface, or enum expected
translate(Wsize1/2, Wsize2/2); // posiciona o mostrador no centro da tela
^
/root/JavaX-Caches/tmp_1787603760/main.java:62: 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_1787603760/main.java:63: 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_1787603760/main.java:64: error: class, interface, or enum expected
float angulo = map(value, 0,maxValue,0,181); //Numeric mouseX movement 0 & 360 grauss
^
/root/JavaX-Caches/tmp_1787603760/main.java:65: error: class, interface, or enum expected
fill(255,255,255); // Text Color = Blank
^
/root/JavaX-Caches/tmp_1787603760/main.java:66: error: class, interface, or enum expected
text((int) angulo, Tx,Ty); // Position of Text with Numeric Angle
^
/root/JavaX-Caches/tmp_1787603760/main.java:67: error: class, interface, or enum expected
rotate(radians((int) rodar)); // Rotate the Arrow as "rodar" value
^
/root/JavaX-Caches/tmp_1787603760/main.java:68: error: class, interface, or enum expected
switch(gauge) {
^
/root/JavaX-Caches/tmp_1787603760/main.java:71: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1787603760/main.java:72: error: class, interface, or enum expected
case 2:
^
/root/JavaX-Caches/tmp_1787603760/main.java:74: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1787603760/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1787603760/main.java:78: error: class, interface, or enum expected
PGauge_processing2 type(int type) { gauge = type; this; }
^
/root/JavaX-Caches/tmp_1787603760/main.java:78: error: class, interface, or enum expected
PGauge_processing2 type(int type) { gauge = type; this; }
^
56 errors