Netbeans用swing让窗体居中

setLocationRelativeTo(null);

加上一条语句就好使

posted @ 2010-07-13 09:14  lqfalya  阅读(331)  评论(0)    收藏  举报