hi i am developing an application that drag image in that frame and can also resize image as per user requirement using mouse cursor.
but when i am dragging image it doesn't dragged it and show an error :
> Exception in thread "AWT-EventQueue-0" java.lang.Error: Destination
> component not connected to component tree hierarchy at
> javax.swing.SwingUtilities.convertPoint(Unknown Source) at
this error occur when i am using following SwingUtility, point convert code :
here `PictureEditor` is name of main class of Application
and when i am using following code then it dragged whole window :
here label is Jlabel used to display image.
& all this code is inside MouseHandler class which is subclass of PictureEditor class.
and MouseHandler class extend MouseAction