I have been working for Drag and Drop Functionality. I just brief about my Problem :
1. Drag element from File System and Drop into JPanel A [Componets are visible ]
2. Again Dragging Element from JPanel A and Drop into another JPanel B. [Componets are visible ]
3. At last, Dragging Element from JPanel B and Drop into another JPanel A [Componets are not visible]
Now, I used revalidate and repaint method to refresh the Jpanel A. But no result still not visible. But invisible component is able to drag and Drop
I tested Component visibilty by,
isVisible(), isShowing(), isOpaque(). These methods are returning true,but not visible in JPanel A.