Objects repositioning automatically
Im developing a swing application where in i have a login button on pressing which the username and password fields are setvisible.
The problem is initially the button position is low.when i press it.. it moves upward and displays username n password fields.when i enter the wrong information the button moves further up n displays the message.
Ive positioned button initially in the top position itself but its movin from bottom to top on each item setting visible.
How could i make it stationary even if others are not visible.
dont ask me to use layouts... im using a free design as it helps me easily position all my objects.
waiting for a solution to stop this automatic repositiong in netbeans.