에디트의 코드 기능을 누르면 한줄로 작성이 됩니다
1,320
2015.07.18 13:07
짧은주소
- - 짧은주소: http://v2.eyoom.net/bbs/?t=16L 주소복사
본문
public class threadex11 implements Runnable{ static boolean autoSave = false; public static void main(String[] args) { Thread t = new Thread(new threadex11()); t.setDaemon(true); // 이 부분이 없으면 종료되지 않는다. t.start(); for(int i=1; i <= 20; i++) { try{ Thread.sleep(1000); } catch(InterruptedException e) {} System.out.println(i); if(i==5) autoSave = true; } System.out.println("프로그램을 종료합니다."); }
0
좋아요!

레벨 10
경험치 10,166
Progress Bar 59%
- 가입일 : 2015-03-16 21:00:17
- 서명 :
- 자기소개 :
댓글목록
shadow님의 댓글
"syntaxhighlighter"가 익스에선 올바르게 표현이 안될때가 많습니다.
크롬에선 정상 작동을 하구요.
참고하시기 바랍니다.
다음 링크들을 참조하시면 도움이 될 듯 합니다.
모두 익스와 smarteditor2 에 관련된 문제가 있습니다.
http://eyoom.net/bbs/board.php?bo_table=qna&wr_id=2634
http://eyoom.net/bbs/board.php?bo_table=bug&wr_id=197
축하합니다. 첫댓글 포인트 80포인트를 획득하였습니다.
red123님의 댓글
아.. 정말 빠른 답변 감사 드립니다
익스문제라니 사용 자제를 해야겠네요 해당 기능 부분에 있어서 말이에요 ^^
축하합니다. 행운의 포인트 91포인트를 획득하였습니다.