2010-02-03 5 views

답변

6

당신이 시도 할 수 있습니다 ... 부모 컨테이너가 아닌 화면에 위치를 얻을 :

// Convert a coordinate relative to a component's bounds to screen coordinates 
Point pt = new Point(component.getLocation()); 
SwingUtilities.convertPointToScreen(pt, component); 
관련 문제