随笔分类 -  java

摘要:摘自: http://www.ntu.edu.sg/home/ehchua/programming/java/J4b_CustomGraphics.html import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * 阅读全文
posted @ 2016-02-21 16:02 SuperTao1024 阅读(322) 评论(0) 推荐(0) 编辑
摘要:摘自: http://www.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html Writing Swing Applications In summary, to write a Swing application, you have: Use 阅读全文
posted @ 2016-02-21 12:06 SuperTao1024 阅读(309) 评论(0) 推荐(0) 编辑
摘要:摘自: http://www.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html Refer to the WindowEventDemo, a WindowEvent listener is required to implement the 阅读全文
posted @ 2016-02-20 17:06 SuperTao1024 阅读(261) 评论(0) 推荐(0) 编辑
摘要:嵌套类,摘自: http://www.ntu.edu.sg/home/ehchua/programmin/java/J4a_GUI.html A nested class has these properties: A nested class is a proper class. That is, 阅读全文
posted @ 2016-02-20 16:52 SuperTao1024 阅读(412) 评论(0) 推荐(0) 编辑
摘要:摘自:http://www.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html 主要内容: 1.ActionListener 2.WindowEvent 3.MouseEvent, MouseMotionListener 4.KeyEvent, 阅读全文
posted @ 2016-02-20 00:04 SuperTao1024 阅读(306) 评论(0) 推荐(0) 编辑
摘要:摘自: http://www.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html Creating Your Own Event, Source and Listener: Suppose that we have a source called 阅读全文
posted @ 2016-01-21 23:26 SuperTao1024 阅读(319) 评论(0) 推荐(0) 编辑
摘要:本文主要作为java学习笔记,方便以后查看,大部分内容都源于以下网站: http://www.ntu.edu.sg/home/ehchua/programming/index.html#Game 本文的内容是根据自己理解而归类,有不准确的地方,敬请谅解。 本文主要内容: 1.继承(inheritan 阅读全文
posted @ 2015-12-14 22:37 SuperTao1024 阅读(679) 评论(0) 推荐(0) 编辑
摘要:本文主要作为java笔记,方便以后查看,大部分内容都源于以下网站: http://www.ntu.edu.sg/home/ehchua/programming/index.html#Game 主要关于java面向对象编程。 Circle.java public class Circle { publ 阅读全文
posted @ 2015-12-12 20:29 SuperTao1024 阅读(268) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示