Thread tt; tt = new Thread(testing()); tt.start(); public static String testing() { for (int testingx = 0; testingx < 10000; testingx++) { System.out.println(":-)"); } return("Hello! :-)"); }