dcsimg

Can I use a single, scrollable row of tabs on a JTabbedPane?

Scott Stanchfield

In Java 2, v 1.4 you can. The JTabbedPane API has been updated to include setTabLayoutPolicy() to allow you to specify that you want scrollable tabs. See http://java.sun.com/products/jfc/tsc/articles/merlin/specs/tabbedPane for more information.