dcsimg

How do I visually add a page to a JTabbedPane?

Scott Stanchfield

When using the Visual Composition Editor, you can drop any component you want on top of the tabs of the JTabbedPane, or on the JTabbedPane in the beans list.

Each component dropped in the JTabbedPanel becomes a page.

If you want mutiple components in a JTabbedPane, drop a JPanel as a page, and add components to that JPanel.

 

See also