Struggling with Java counter

Printable View