CS241: Spring 2015 -- (Optional) Class 8
Debugging
- The debugger (used on a broken life program)
- Starting
- Setting/unsetting breakpoints
- Step over, step into
- The Variables tab
- Inspecting variables by hovering
- Continue to next breakpoint
- initializing the members of the array -- avoid null pointer exceptions!!
- Using a JPanel with
public void paintComponent(Graphics)
inside a JFrame (with a BorderLayout!!) to get double buffering
by default
- Hijacking the psvm Thread to do animation
- mousePressed