摘要:
译自官方指南(Tutorial): http://docs.oracle.com/javase/tutorial/reflect/index.html 反射的用途 Uses of Reflection Reflection is commonly used by programs wh... 阅读全文
摘要:
用户点击窗口中的yellow按钮、用户按下Ctrl + Y 键,都会改变背景颜色至黄色。多个事件源调用的都是同一个类的actionPerformed()方法. Ctrl + Y 黄 Ctrl + B 绿 Ctrl + L 黑 相关类: public class KeyStrokee... 阅读全文