I am working on a swing application using JinternalFrames but when i open one Jinternelframe it appears in the JDesktopePane and with another click on the same component another instance show up.
i tried to fix this problem by declaring new instance of each JInternalFrame in the Constructor, but in the memory side it’s useless, so i am asking if there is any methode to get rid of this issue.
Thank you a lot guys.
I am working on a swing application using JinternalFrames but when i open one
Share
Lazy-init the frames: