class SpinCycle { public static void main(String[] args) { for(int x = 0; x < 15; x++) { try { System.out.print("\r | | |"); Thread.sleep(75); System.out.print("\r / / /"); Thread.sleep(75); System.out.print("\r - - -"); Thread.sleep(75); System.out.print("\r \\ \\ \\"); Thread.sleep(75); } catch(Exception e) { System.err.println(e); } } System.out.println("\r "); } }