Using reflection then, you have an ActionListener implementation, but don't have an added .class file in the file system.
然后使用反射,您有一个ActionListener实现,但是没有在文件系统中增加一个 .class 文件。
Here, the ActionListener implementation is defined in place, as an anonymous inner class, and directly attached to the button.
这里,ActionListener实现是适时定义的,它定义为一个匿名内部类,并直接附加到按钮上。
Here, the ActionListener implementation is defined in place, as an anonymous inner class, and directly attached to the button.
这里,ActionListener实现是适时定义的,它定义为一个匿名内部类,并直接附加到按钮上。
应用推荐