I want to position a JPanel over a bunch of JButtons in such a way that the JButtons would not be able to be clicked on. Is there a way without having to manually disable each of the JButtons using layers or something? Currently any JPanel I put over the top still allows me to click the buttons underneath.