aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15286
    
    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 - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTabbedPane
 
Similar Threads
help me.....
Help with TabbedPanel and panel in struts 2
JavaMediaFramework Question
Parsing
TabPanel Horizontal scroll issues