I am creating a Swing Application. I have one main JFrame and a jdesktoppane. I added two buttons and one label on jdestoppane. But if I open any JInternalFrame on Main Frame button covers the internal frame.
(JButton appear foreground of JInternalFrame). If I click internal frame button go to background.
Can you help to solve this?