This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTabbedPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane" Watch "JTabbedPane" New topic
Author

JTabbedPane

tuni kumar
Greenhorn

Joined: Feb 07, 2008
Posts: 2
i m very new in Swing, can any one help me make tabs placement in the Top right side!!! i hv used the tab placement argument "Right" but it comes in the corner right side. I want how the Top tab palcement argument comes but i should be in right side.

SO help me plzzz
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
tabbedPane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);

but you'll need to add your tabs in the reverse order.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Tuni,

Using word abbreviations like "plzzz" and "hv" only cause more confusion, especially since a great deal of our member base don't speak English as their first language and often times use translator programs that don't know anything about such words. Please read this for more information.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTabbedPane