title: Hide JPanel by clicking outside of it
body: <p>I have a JLayeredPane with a Checkbox on the Default_Layer.
  By checking it, a Panel shows up on the Palette_Layer.
  All of that works fine.</p>
  <p>I just want to know how to hide the Panel again by clicking outside of it, without unchecking the Checkbox.</p>