AWT显示中文乱码时,需要修改运行参数,点击Edit Configurations...对对应的类(我这里是ServerWindow类)进行运行配置修改:VM options:-Dfile.encoding=GB18030