0

I have seen the same question as this

However , I have worked on a even harder project, I want to customize the Jtabbedpane as this

please watch the component which like a JTabbedPane.

as you can see, there are many tags and two buttons used to minimize and maxumize on the tab title. More additon when there are too many tabs there will be anothoer button and you can click it to get those tags that you can not see.

I have no idea about How to achieve this, please Help me.

Community
  • 1
  • 1
  • I don't know if you're aware of it. Eclipse is not based on Swing, it uses its own toolkit called SWT. Means, these guys achieved what you see not by using Swing but by using SWT. – Christian Hujer Nov 26 '14 at 16:03

1 Answers1

1

To start, you could try Tabs With Custom Components. Like this example, it uses setTabComponentAt() to add a custom ButtonTabComponent that has a checkbox.

Community
  • 1
  • 1
Catalina Island
  • 7,027
  • 2
  • 23
  • 42