Java Glossary : springs and struts

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : S words : springs and struts.

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 75x23 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.


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 796.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/springsandstruts.html J:\mindprod\jgloss\springsandstruts.html