Skip to main content

TabIndex problem: from horizontal method to vertical method. How Can I Do?

1 reply [Last post]
Joined: 2010-03-14

Hi, I use a GridBagConstraints for manage an input form but I have problem with tabIndex because the default method is horizontal tab but i would like a vertical tab.
how can i do?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-08-27

Assuming you are using a JTabbedPane, use setTabPlacement(int placement)

See JavaDocs for options
See also tutorial