JWindow : Java Glossary


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:


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

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.

Your face IP:[]
You are visitor number