Summary

In this chapter, we explored advanced Swing. We showed an example that employed the JFC components JTable, JTree, JToolBar, and JTabbedPane, and we discussed JTable and JTree.

We extended the address book application to use JTable, which led to a discussion of TableModel and TreeModel. Later we changed menus and toolbars to use actions instead of buttons and menu items.

With what you learned in this and the last three chapters, you should be able to create your own Swing-based applications.

Get Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.