1 / 20

팀프 #2 STARWARS

팀프 #2 STARWARS. 201211353 서동현 201211389 함진아. 목차. 초기 구현 계획 (1/4). 주요 프로세스 (2/4). Weapon 요구사항 분석 (3/4). Player 요구사항 분석 (4/4). 팀프 #1 의 구현 기능 (1/3). 팀프 #1 의 최종 구현 기능 (2/3). 팀프 #1 의 최종 구현 기능 (3/3). 전체 설계도. 사용한 디자인 패턴. 가이드 라인 ( Gui 설계 )(1/4). 전체 프로세스 ( 수정 )(2/4). 고민과 해결 방법 (3/4).

kalila
Download Presentation

팀프 #2 STARWARS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 팀프#2 STARWARS 201211353 서동현 201211389 함진아

  2. 목차

  3. 초기 구현 계획(1/4)

  4. 주요 프로세스(2/4)

  5. Weapon 요구사항 분석(3/4)

  6. Player 요구사항 분석(4/4)

  7. 팀프#1의 구현 기능(1/3)

  8. 팀프#1의 최종 구현 기능(2/3)

  9. 팀프#1의 최종 구현 기능(3/3)

  10. 전체 설계도

  11. 사용한 디자인 패턴

  12. 가이드 라인(Gui설계)(1/4)

  13. 전체 프로세스(수정)(2/4)

  14. 고민과 해결 방법(3/4)

  15. 새롭게 알게 된 사실(4/4) • public void actionPerformed (ActionEvent e);이 메소드가 호출될 때는 스윙의 event dispatch thread 위에서 호출된다.event dispatch thread 는 스윙 컴포넌트의 view 변경, Listener호출 등 발생하는 이벤트의 전체를 관리하는 Thread이다. 예를 들어서 버튼의 이미지를 바꾼다, 하면 이미지 변경이 이 Thread 위에서 실행된다.따라서 이 메소드가 호출하는 "어떤 메소드" 에서thread.sleep(1000); 을 하게 되면 "어떤 메소드" 역시 event dispath thread 위에서 실행되는 거고, 이 thread가 sleep 을 하는 것이다.actionPerformed에서 아래와 같이 별도의 thread를 만들어서 Runnable r = new Runnable() { public void run() {doMethod(); // "어떤 메소드“ }};new Thread(r).start();를 해주면 event dispatch thread는 actionPerformed메소드만 호출하고 그 다음에는 새로운 thread가 "어떤 메소드"를 호출한다.

  16. 데모 실행

  17. 아쉬운 점

  18. 감사합니다. 기말고사 파이팅!

More Related