How to add close button to a JTabbedPane Tab?

前端 未结 7 1946
温柔的废话
温柔的废话 2020-11-27 05:09

I\'m working in with a JTabbedPane, I need to add a close button in the tabs to close the current one.

I have been searching and as I understand I must extend from J

相关标签:
7条回答
  • 2020-11-27 05:51

    Check out Peter-Swing here. It has a JClosableTabbedPane class in it, as well as many others.

    When you download the jar file you can run it and have examples of all the classes.

    0 讨论(0)
提交回复
热议问题