网志人生

March 31, 2006

SUN也会错 [Java之旅] — 不想放弃 @ 3:24 am

  因为开始学Java了,总是要看《The Java(TM) Tutorial》的。当我看到“How Do These Concepts Translate into Code?”时,就发现有问题了。在源代码ClickMe.java中就写错了,有一部分直径变量RADIUS竟然小写成“radius”了。已经向SUN反馈了。
  BTW:其实这个程序还有一个问题,就是.setLayout和.add要分别改成.contentPane.setLayout和.contentPane.add。

Comments »

The URI to TrackBack this entry is: http://bloglife.blogsome.com/2006/03/31/sun_error/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


Get free blog up and running in minutes with Blogsome
Theme designed by Dave Shea