Java的GUI中Button控件中文乱码解决方案 右键–>Run Configurations–>Arguments –>VM arguments –>添加-Dfile.encoding=GB18030并应用 使用JButton 封装成jar 使用GBK编码