View Single Post
  #5 (permalink)  
Old 03-26-2008, 02:12 AM
Lang Lang is offline
Member
 
Join Date: Nov 2007
Posts: 8
Lang is on a distinguished road
I'm having trouble understanding what you said, hardwired.

When the mouse is released I'd like all the graphics to disappear.

So I tried this:

Code:
public void mouseReleased(MouseEvent e){ this.remove(boardCanvas); startShot = null; endShot = null; }
startShot and endShot are two irrelevant Point variables.
Reply With Quote