B.36 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.



Java Swing
Graphic Java 2: Mastering the Jfc, By Geary, 3Rd Edition, Volume 2: Swing
ISBN: 0130796670
EAN: 2147483647
Year: 2001
Pages: 289
Authors: David Geary

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net