This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Rectangles- How to construct, intersects(), contains() 4 Topics from Alastair s Part JPanels- Componenets which can be added- paintComponent() method and drawing ActionEvents- adding ActionListeners, actionPerformed(), e.getSource() MouseEvents adding MouseListeners, mousePressed(), e.getX(), e.getPoint(), etc. 5 Topics from Alastair s Part KeyEvents- adding KeyListeners, KeyPressed(), e.getKeyCode(), KeyEvent.VK_UP, etc. Timer- Using the ActionListener for animation- new Timer(,this), t.start(), t.stop(), t.isRunning() 6...
View Full Document
This note was uploaded on 03/01/2012 for the course COMPSCI 101 taught by Professor Adrianaferraro during the Summer '12 term at Auckland.
- Summer '12
- Computer Science