Component Anchoring
Im rather new to java gui making. Im currently looking for a way to achieve anchoring(visual studio name for this) on items like buttons and textareas while using a grid-based layout(ie. layout I can pick a location for all my components, just like visual studio and delphi).
If its unclear what I mean with anchoring, then Im talking about movement and resize of components when the window side is adjusted, Visual studio offers anchoring of components to Top,Right,Bottom,Left,Center and none. Those can be used one at a time, all at once or none at all.
Is this possible in java without adding loads of extra code to a resize event of parent components? And if so how? and what layout mode is best for this?
In hopes of good answers
Ãvar Ãrn Kvaran
|