2

I need to set UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()) to make the button size just around its name, but when I do this UIManager.put("TabbedPane.tabInsets", new Insets(2, 2, 2, 50)) has no longer effect, making the CloseableTabbedPaneLayerUI class (Closeable JTabbedPane - alignment of the close button) to display the close button over the tab name.

Community
  • 1
  • 1
florin.iliescu
  • 302
  • 4
  • 10

0 Answers0