This needs 4 resisters and 4 LEDS, and one button.
counter.jar
from a Command Line type “java -jar counter.jar”
Counter.java
pwmled.java
button.java
buttonlistener.java