tailieunhanh - Introduction to java programming: Chapter 14 - Event-Driven Programming

Introduction to java programming: Chapter 14 - Event-Driven Programming's Objectives is to start with event-driven programming with a simple example; explain the concept of event-driven programming; understand events, event sources, and event classes; declare listener classes and write the code to handle events. | Chapter 14 Event-Driven Programming Chapter 12 GUI Basics Abstract Classes in Chapter 10 Chapter 13 Graphics Chapter 14 Event-Driven Programming J Interfaces in Chapter 10 Chapter 15 Creating User Interfaces Chapter 16 Applets and Multimedia Liang Introduction to Java Programming Sixth Edition c 2007 Pearson Education Inc. All rights reserved. 0-13-148952-6 1 Objectives To start with event-driven programming with a simple example . To explain the concept of event-driven programming . To understand events event sources and event classes . To declare listener classes and write the code to handle events . To register listener objects in the source object . To understand how an event is handled . To write programs to deal with ActionEvent . To write programs to deal with MouseEvent . To write programs to deal with KeyEvent . To use the Timer class to control animations Optional . Liang Introduction to Java Programming Sixth Edition c 2007 Pearson Education Inc. All rights reserved. 0-13-148952-6 Procedural vs. Event-Driven Programming Procedural programming is executed in procedural order. In event-driven programming code is executed upon activation of events. Liang Introduction to Java Programming Sixth Edition c 2007 Pearson Education Inc. All rights reserved. .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.