hi Akshat,
Welcome!
if you really want to put your buttons at any x,y position you like, a null layout comes to mind.
However, using a null layout comes with some big drawbacks. Maybe if you can explain more details
about the desired layout, we could give some appropriate tips. But foremost: have a look at the
Oracle tutorial about
LayoutManagers
But about the null layout:
in your init() method, add the line:
It means that you take complete responsibility for sizing and placing your components.
For instance: create your vega button like this: