Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Placing Tabs Vertically in TabbedPane  RSS feed

 
Pavan Sharma Pavan Sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want place the Tabs vertically one by one in TabbedPane.can any send piece of code for this.
thanks and regards
Pavan
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not sure what you mean by "vertically". have you tried the effect of JTabbedPane.setTabPlacement(int)?
if this is not the behaviour you're looking for, you will have implement it yourself. you can look through the source code of JTabbedPane and its ui classes to find out where and how the tabs get placed.
Chantal
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!