我需要设置UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName())来使按钮大小就在它的名字周围,但是当我这样做时,UIManager.put(" TabbedPane.tabInsets",new Insets( 2,2,2,50))不再有效,使CloseableTabbedPaneLayerUI类(Closeable JTabbedPane - alignment of the close button)在选项卡名称上显示关闭按钮。