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.
I just want to know how to hide the Panel again by clicking outside of it, without unchecking the Checkbox.
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.
I just want to know how to hide the Panel again by clicking outside of it, without unchecking the Checkbox.
Copyright © 2021 Jogjafile Inc.