The following example shows a mouse listener. At the top of the window is a blank area (implemented by a class named BlankArea). The mouse listener listens for events both on the BlankArea and on its container, an instance of MouseEventDemo. Each time a mouse event occurs, a descriptive message is displayed under the blank area. By moving the cursor on top of the blank area and occasionally pressing mouse buttons, you can fire mouse events.
With the Spot Healing Brush selected, turn on the Sample All Layers option in the Options Bar. This lets the Spot Healing Brush sample texture not just from the currently-selected layer (the \"Spot Healing\" layer, which is blank), but also from the image below: 59ce067264