• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can i space JTabbedPane Tabs  RSS feed

 
Henry Addo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please is there a way that i can space tabs of JTabbedPane.
There is this application that i'm writing and i want to
spaces between the tabs. Any idea of how i can implement
that. This is really giving me trouble. Thanks
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without implementing your own custom tabbed pane, I don't believe this is possible with the standard JTabbedPane default in Swing. You might try googling for a tabbedpane someone else created that has the desired affect.

An ugly/quick/dirty solution would be to put empty tabs between non-empty tabs and disable them.
[ August 05, 2005: Message edited by: Gregg Bolinger ]
 
Henry Addo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thank i think i should the standard JTabPane than to create
a new one.But going to google to see if i can get what i want
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!