How to capture JFrame co-ordinates using mouse co-ordinates
posted 6 years ago
I want to capture the dynamic label name which i added on JFrame using mouse click. How i can do that, if i use getX() and getY()
of mouse events . I know these are methods of MouseEvent but both mouse coordinates and frame cordiantes are different. Please let help me out asap how to do it.