JWindow : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

JWindow
Like a JFrame, but without borders or menu bar. A generic term for both a JFrame and JDialog. JWindows can accept keystrokes.

You don’t use jWindow.add( child ); you use jWindow.getContentPane().add( child ). This is especially infuriating since the compiler cannot catch the error. Similarly instead of jWindow.setLayout( layoutManager ) you use jWindow.getContentPane().setLayout( layoutManager ).

Learning More

Oracle’s Javadoc on JWindow class : available:

This page is posted
on the web at:

http://mindprod.com/jgloss/jwindow.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\jwindow.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.143.237.140]
You are visitor number