2010-02-03 39 views

Trả lời

6

Bạn có thể thử này:

// Convert a coordinate relative to a component's bounds to screen coordinates 
Point pt = new Point(component.getLocation()); 
SwingUtilities.convertPointToScreen(pt, component); 
Các vấn đề liên quan