ich hab ein kleiner programm geschreiben das ich nun gerne als bildschirmschoner hätte kann mir jemand weiter helfen momentan ist es ja ne .java datei in was muss ich es umwandeln und wie stelle ich das an ... ich hab noch net soooo viel ahnung von java
also wäre nett wenn mir jemand weiter helfen könnte ihr könnt ihn auch gerne verwänden ist aber nur ne spielerrei
Code:
public class binary {
public static void main(String[] args) {
int x;
for (int z = 1; z < 100;){
try{
Thread.sleep(3);
}
catch(InterruptedException e){
}
x = (int)(Math.random()*2);
System.out.print(x);
}
}
}