Chapter 1. THE SWING TEXT COMPONENTS: CREATING CUSTOMIZED INPUT FIELDS

Topics in this Chapter

  • Introduction to the Swing Text Components

  • Text Component Architecture

  • Custom Text Components

  • Keymaps and Keyboard Bindings

  • Creating a Custom Caret

The Swing text components are much more powerful than their Abstract Window Toolkit (AWT) counterparts. This is partly because of the more complete application programming interface (API) that the Swing components provide, but the most useful new features come from the model-view-controller architecture around which the new components are built. There is so much functionality available from the Swing text components and so many ways to customize them that a whole book could be devoted to the subject. In this chapter, ...

Get Core SWING advanced programming 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.