setSize是设置frame的大小,
setLocation是设置frame在屏幕上的位置!