Non-JComponent Containers

The top-level containers such as JDialog, JFrame, and JWindow—and JApplet, technically—are not descendants of JComponent. As such, they don’t have their own input or action maps. Certainly, their contained components have those maps. They also all have an active JRootPane, which has a few unbound actions (see Table B-22).

This is not to say that there aren’t keystrokes that affect these components—they are simply implemented using other mechanisms.

Get Java Swing, 2nd Edition 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.