随笔分类 - java
摘要:摘自: http://www.ntu.edu.sg/home/ehchua/programming/java/J4b_CustomGraphics.html import java.awt.*; import java.awt.event.*; import javax.swing.*; /** *
阅读全文
摘要:摘自: 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
阅读全文
摘要:摘自: http://www.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html Refer to the WindowEventDemo, a WindowEvent listener is required to implement the
阅读全文
摘要:嵌套类,摘自: 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,
阅读全文
摘要:摘自:http://www.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html 主要内容: 1.ActionListener 2.WindowEvent 3.MouseEvent, MouseMotionListener 4.KeyEvent,
阅读全文
摘要:摘自: 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
阅读全文
摘要:本文主要作为java学习笔记,方便以后查看,大部分内容都源于以下网站: http://www.ntu.edu.sg/home/ehchua/programming/index.html#Game 本文的内容是根据自己理解而归类,有不准确的地方,敬请谅解。 本文主要内容: 1.继承(inheritan
阅读全文
摘要:本文主要作为java笔记,方便以后查看,大部分内容都源于以下网站: http://www.ntu.edu.sg/home/ehchua/programming/index.html#Game 主要关于java面向对象编程。 Circle.java public class Circle { publ
阅读全文