List of usage examples for javax.swing JInternalFrame getLocationOnScreen
public Point getLocationOnScreen()
From source file:com.github.srec.rec.DefaultScreenShot.java
private Rectangle getScreenSize(JInternalFrame iframe) { Point p = iframe.getLocationOnScreen(); Rectangle r = iframe.getBounds(); r.setLocation(p);//from ww w. ja v a 2 s.com return r; }