springs and struts : Java Glossary


springs and struts
Vibe’s replacement technique for layouts that automatically adjusts the size and position of the components to fit the amount of screen real estate provided. Instead of writing code, you visually connect components with fixed length struts, natural length struts and variable length springs. Natural sizes are important because they define what the width and height naturally are for a widget as well as the minimum distance between widgets. For example, on Windows 95 the natural size of a button is 75 × 23 while on Motif it is 80x25. By using a natural size, the developer does not have to worry about such details. Fixed length struts can be used to control absolute positioning and also the minimum size of various components.

This page is posted
on the web at:

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

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

J:\mindprod\jgloss\springsandstruts.html
logo
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.
Blog
IP:[65.110.21.43]
Your face IP:[54.196.198.241]
You are visitor number