CH03 為自己的視窗加上小元件
CH03 為自己的視窗加上小元件. 物件導向系統實務. 選擇前兩次介紹的各種建窗方式 , 建立一個視窗. 事件與傾聽者間的關係. 屬 java.awt.event.* 的 mouseListener 介面,介面中定義了 mouseClick, mousePress… 等方法. [ 按鈕1 ] 委任一個 MouseListener 物件,以接收並回 應 mouseClick 事件源. 事件 : 敲擊滑鼠按鍵 ( mouseClick). . 屬 java.awt.* 的 Button 內的方法. addMouseListener(…). 按鈕 1.
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
