CM5 — Graphics 2D & Events
Stéphane Derrode — Centrale Lyon · S7 Inf A3
Topics covered
- Custom painting: paintComponent() and repaint()
- Graphics2D: shapes, colors, strokes, fonts
- Images: BufferedImage and ImageIO
- Mouse events: MouseListener and MouseMotionListener
- Keyboard events: KeyListener and focus management
- Animation: javax.swing.Timer
- The 3×3 GridPanel — foundation of the Spider Game