You then add an event listener to one of your buttons for adding a new artist.
然后将事件侦听程序添加到一个按钮上以添加新艺术家。
If you are familiar with the Swing event model, you know that you need to add an action listener to the checkbox so that whenever the user changes it, the listener can perform some action.
如果熟悉Swing事件模型,您就知道需要为复选框添加一个活动监听器,从而每当用户改变它时,监听器都可以执行某个动作。
It is necessary to add a JMX event listener to the AppManagement MBean to understand the completion of update operation.
有必要向AppManagementMBean添加一个JMX事件,以了解更新操作是否完成。
On the Event Handling page, make sure that Add action listener and Add form sample are checked, as shown in Figure 5.
确保选中EventHandling页上的Addactionlistener和Addformsample,如图5所示。
Within this file, you can add a listener, set its filter type, and specify the event type to trace.
您可以在这个档案之中,加入接听程序、设定其筛选器类型,并指定要追踪的事件型别。
Within this file, you can add a listener, set its filter type, and specify the event type to trace.
您可以在这个档案之中,加入接听程序、设定其筛选器类型,并指定要追踪的事件型别。
应用推荐