Tabbed Panes: Mastering Java Swing Part 47

3m 11s
Download
Caveofprogramming

Cave of Programming

After working as a software developer and contractor for over 14 years for a whole bunch of companies including CSC, Proquest, SPSS and AT&T in the UK and... Read more

A tutorial on using tabbed panes in your Swing GUI application, allowing you to present different views on different tabs.

If you want to be able to switch between different views using tabs, or you want to let the user open multiple sub-windows, tabbed panes are a good option. In this tutorial I show you how to use a tabbed pane to create two separate "views" in your application.

The JTabbedPane class