正在加载图片...
Procedural ys. Event-Driven Programming Procedural programming is executed in procedural order o In oo gui programming, code is executed upon activation of events ● GUIs are event driven O Generate events when user interacts with GUI Oe. g, moving mouse, pressing button, typing in text field, etc o Class java. awt. AWTEvent Introduction to Java Programming, revised by Dai-kaiyuLiang,Introduction to Java Programming,revised by Dai-kaiyu 3 Procedural vs. Event-Driven Programming ⚫ Procedural programming is executed in procedural order. ⚫ In OO GUI programming, code is executed upon activation of events. ⚫ GUIs are event driven Generate events when user interacts with GUI ⚫e.g., moving mouse, pressing button, typing in text field, etc. ⚫Class java.awt.AWTEvent
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有