frameFind f = new frameFind();
int l, t;l = this.getX () + toolMain.getX () + btnFind.getX ();
t = this.getX () + toolMain.getY () + btnFind.getY () + btnFind.getHeight ();
f.setLocation(l, t);//你要根据你按钮旋转的位置逐的取,我这个按钮是放在工具条上的,你参考一下吧!!