insets : Java Glossary

insets
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.


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/insets.html J:\mindprod\jgloss\insets.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.211]
You are visitor number 18,504.