java swing JButton文字显示异常

需要设置边距

btn.setMargin(new Insets(0,0,0,0));
原文地址:https://www.cnblogs.com/ives/p/14249612.html