Question

When I'm positioning textareas on the screen (with the gui-builder of netbeans), the distance between the first and the second tends to be one (18 pixels), the distance between the second and the third tends to be one too (18 pixels too), but I want both distances to tend to be another (25 pixels). How to do that?

Was it helpful?

Solution

Learn how to use LayoutManagers and don't rely on an IDE to do the layout for you.

Read the section from the Swing tutorial on Using Layout Managers

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top