If you want to put the button at a different location you have to set it to the right location. Read up ony layout managers and who to use them properly. Maybe start with a GUI-building software to...