After hours of frustrated debugging, I finally somehow made it work correctly. What I did was I added SwingUtilities.invokeLater() method and passed the code inside it like this..
case...
Type: Posts; User: javaAllDay
After hours of frustrated debugging, I finally somehow made it work correctly. What I did was I added SwingUtilities.invokeLater() method and passed the code inside it like this..
case...
I have a JLayeredPane and it contains a JPanel to start with. Now I want another smaller JPanel to display on top of the previous JPanel inside the JLayeredPane dynamically. By dynamically I mean...