posted 20 years ago
It does not work, am getting runtime error, the type of component returned is java.awt.dnd.DragSourceContext. so I guess am getting run time error because I am trying to convert it to JComponent.
Just calling setVisible(false) and revalidate() does the job. Thank you.
[ April 04, 2003: Message edited by: sun par ]