public class ThreadEx6 { public static void main(String[] args) { String input = JOptionPane.showInputDialog("아무 값이나 입력하세요."); // 입력을 하지 않으면 프로그램은 이 부분에서 멈추게 됨 System.out.println("입력하신 값은 " + input + "입니다."); // 이 작업을 멀티 쓰레드로 바꿔보자 for(int i = 10; i>0; i--) { System.out.println(i); try {Thread.sleep(1000); }catch(Exception e) {} } } } 싱글 쓰레드 이용한 예제 - 화면에 값을 입력하지 않으면 프로그램은 String input = JOptionPa..