解决IDEA中AWT、Swing组件中文显示乱码&框框 1. Run–>Edit Configurations 2. Modify options --> Add VM options 3.在这个框输入: -Dfile.encoding=GBK 4. Apply --> OK!