Netbeans用swing让窗体居中

setLocationRelativeTo(null);

加上一条语句就好使

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