由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Top Ten Errors Java Programmers Make(9)
相关主题
question about repaint, update and paint求教
override/overload/overwrite in JavaAWT tooltip?
第十章 编程实例swing question
Re: FileDialog 的问题simple swing question
Re: AWT 和 SWING 在程序应用中有什么区别?Question: OutOfMemoryError when drawImag
Re: AWT和SWING到底有什么不同?Consuming mouse event messages?
How about Swing?help: where to download JAVA/swing? (转载)
求助Java Image Tools or APIJ2EE入门
相关话题的讨论汇总
话题: overriding话题: method话题: make话题: mistype
进入Java版参与讨论
1 (共1页)
b*g
发帖数: 644
1
9. Mistyping the name of a method when overriding
Overriding allows programmers to replace a method's implementation
with new code. Overriding is a handy feature, and most OO programmers
make heavy use of it. If you use the AWT 1.1 event handling model,
you'll often override listener implementations to provide custom
functionality. One easy trap to fall into with overriding, is to mistype
the method name. If you mistype the name, you're no longer overriding a
method - you're creating an entirely
1 (共1页)
进入Java版参与讨论
相关主题
J2EE入门Re: AWT 和 SWING 在程序应用中有什么区别?
有没有类似MS Visual Studio的Java IDE?Re: AWT和SWING到底有什么不同?
问个进度条的问题How about Swing?
[转帖]如何才算掌握Java(J2SE篇)求助Java Image Tools or API
question about repaint, update and paint求教
override/overload/overwrite in JavaAWT tooltip?
第十章 编程实例swing question
Re: FileDialog 的问题simple swing question
相关话题的讨论汇总
话题: overriding话题: method话题: make话题: mistype