java swing JButton文字显示异常

需要设置边距

btn.setMargin(new Insets(0,0,0,0));
posted @ 2021-01-08 00:34  Hey,Coder!  阅读(348)  评论(0编辑  收藏  举报