Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Locating button by resolution

I would like to know how to locate my button location by resolution.
I got a resolution using Toolkit. like

Dimension screenSize = getDefaultToolkit().getScreenSize();

Also, I divided resolution to make a button size like

int button_width = screenSize.width / 10;

But, I want to locate my button at the lower part of a screen. 
Also, I want to make unchangeable location when I change my screen size like UI.
What should I do?

Comments