Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Tài liệu HOT
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture An introduction to Object-Oriented Programming with Java - Chapter 14:
TAILIEUCHUNG - Lecture An introduction to Object-Oriented Programming with Java - Chapter 14:
After you have read and studied this chapter, you should be able to: Arrange GUI objects on a container, using layout managers and nested panels; write GUI application programs that process mouse events; understand how the SketchPad class introduced in Chapter 2 is implemented; | Chapter 14 Advanced GUI Chapter 14 Objectives After you have read and studied this chapter, you should be able to Arrange GUI objects on a container, using layout managers and nested panels. Write GUI application programs that process mouse events. Understand how the SketchPad class introduced in Chapter 2 is implemented. ©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 14 Objectives After you have read and studied this chapter, you should be able to Write GUI application programs with JCheckBox, JRadioButton, JComboBox, JList, and JSlider objects. Develop programs using a variation of the model-view-controller (MVC) design pattern. ©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Handling Mouse Events Mouse events include such user interactions as moving the mouse, dragging the mouse, and clicking the mouse buttons. To study these events, we will define a subclass of JFrame that handles the left mouse button click events. The subclass of JFrame we will define is named Ch14TrackMouseFrame. ©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Handling Mouse Events A Ch14TrackMouseFrame object is an event source of mouse events. We will allow this object to be an event listener as well. Its class must therefore implement the MouseListener interface. Class Ch14TrackMouseFrame extends Frame implements MouseListener { } ©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Handling Mouse Events The MouseListener interface has five abstract methods: mouseClicked mouseEntered mouseExited mousePressed mouseReleased The argument to all five methods is an instance of MouseEvent. ©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Handling Mouse Events The mouseClicked method is called every time the left mouse button is clicked, or pressed down and released. The getX and getY methods of MouseEvent .
Triều Vĩ
88
79
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461861
55
Giới thiệu :Lập trình mã nguồn mở
14
22625
59
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10883
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10061
446
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9517
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8277
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8227
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7863
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6672
253
Vật lý hạt cơ bản (1)
29
5768
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Object Oriented Programming
Object Oriented Programming with Java
Programming languages
Advanced GUI
Handling mouse events
Layout managers
Introduction to java programming
Structures of the Swing Containers
The Size of Components in a Containe
Using CardLayout
Creating a BoxLayout
tài liệu java
ứng dụng java
lý thuyết java
ngôn ngữ java
lập trình với java
Research Methodlogy
Apartment Building
Access types
Unit extension
Core location
Layout change
Computer science
Computer science using Java
Programming using Java
Java programming
UML notation
Ebook Swing
Swing overview
Swing mechanics
Tabbed panes
Layered panes
Java swing
TÀI LIỆU MỚI ĐĂNG
Oreilly learning the vi Editor phần 4
19
228
0
25-04-2024
Trading Strategies Profit Making Techniques For Stock_3
23
184
0
25-04-2024
Báo cáo nghiên cứu khoa học " KẾT QUẢ NGHIÊN CỨU BƯỚC ĐẦU VỀ THIÊN ĐỊCH CHÂN KHỚP TRÊN CÂY THANH TRÀ Ở THỪA THIÊN HUẾ "
7
175
0
25-04-2024
MySQL Basics for Visual Learners PHẦN 9
15
183
0
25-04-2024
Khurana et al. Journal of Orthopaedic Surgery and Research 2010, 5:23
7
133
0
25-04-2024
XỬ TRÍ CHẤN THƯƠNG SỌ NÃO KÍN
1
113
1
25-04-2024
Giáo trình tổng quan khoa học thông tin và thư viện part 7
22
143
2
25-04-2024
Data Structures and Algorithms - Chapter 8: Heaps
41
118
0
25-04-2024
Lãi suất cơ bản, công cụ quan trọng của chính sách tiền tệ
5
112
0
25-04-2024
A Practical Guide for Health Researchers - part 7
24
108
0
25-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7863
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5712
1363
Ebook Chào con ba mẹ đã sẵn sàng
112
3766
1231
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5316
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8277
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3495
642
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10883
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3681
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4043
514
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4124
480
Đã 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.