I want to make a loading message when an app processes, so I used a JPanel over a JTree. But when the user clicks on the JPanel, the <
JPanel
JTree
Disabled Glass Pane might help you out.