One JFrame At A Time
I have a JFrame made up of various boxes When the user clicks on a box, a mini-JFrame pops up. So every time the user clicks on a box a mini-JFrame will appear. Is it possible to make sure that only one mini-JFrame appears at a time?
So what I pterry much am asking. if a mini-JFrame is already open and the user clicks on a box in the main JFrame, I want the already open mini-JFrame tol close so that only the new one will be visible?
Thank you.

