I have looked around and I cannot figure out how to do it. Should I use the Synth look & feel? How would I go about doing this?
Asked
Active
Viewed 1,179 times
2
-
1The style is determined by the Look&Feel. Most L&Fs have ways to tweak them a bit. What exactly do you want to change in the way tabs are presented? – jackrabbit Jun 19 '11 at 15:51
-
@jack The tabs in the Eclipse IDE are quite nice, [(Example).](http://files.myopera.com/behrangsa/blog/Eclipse-Tabs.png) I'd like to get something like that. – Dara Java Jun 19 '11 at 16:26
-
Eclipse uses SWT, not Swing. Exactly the same look is not available in Swing AFAIK. You'll need either a different Swing Look&Feel (Synth, Nimbus, Substance, ...) or write your own TabbedPaneUI delegate. – jackrabbit Jun 20 '11 at 07:11
-
@jack Brilliant!! I didn't know I could write my own TabbedPaneUI! Thank you. – Dara Java Jun 21 '11 at 05:18
1 Answers
2
In How to Use Tabbed Panes, TabComponentsDemo
shows how to put "custom components on tabs."

trashgod
- 203,806
- 29
- 246
- 1,045