insets : Java Glossary


top, left, bottom and right margins, specified in that order, measured in pixels. The LayoutManager will ensure components have some breathing room around them. If you always code your insets like this, the maintenace programmers who come after you will not need to remember the order:

Container.insets returns an Inset from the native GUI (Graphic User Interface), how much room you have to leave around the inside rim of a Container. This is not something you can change, unlike the Insets about Components you feed to GridBagConstraints.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

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.

Your face IP:[]
You are visitor number