List of usage examples for javax.swing JFrame findComponentAt
public Component findComponentAt(Point p)
From source file:com.github.srec.rec.DefaultScreenShot.java
private JInternalFrame findInternalFrame(JFrame frame) { Point mouseLocation = MouseInfo.getPointerInfo().getLocation(); Component component = frame.findComponentAt(mouseLocation); return findInternalFramesubdir(component); }