楼上的说的好象有点问吧?我想下面这个应该是解决的方法呀!
java.swing.SwingUtilities.convertPointToScreen(Point p, Component c);
Convert a point from a component's coordinate system to screen coordinates.
Parameters:
p - a Point object (converted to the new coordinate system)
c - a Component object组件