Java - gui: adding a door
===

I am running a ball collision simulation, and I want to add a door somewhere along the edges of the frame, such that when a ball touches it, it disappears. What is the simplest Swing component that can give me the functionality of this door?