To position components manually you must set its layout manager to null. However, this also means that you must set the preferred size manually. After that you can use setLocation or setBounds to place the component. Note that without a layout manager the added component will initially have a size of 0x0. By calling
you can give it its desired size, then use setLocation to move it around.
If you want to drag your label around
you should try searching first. There are quite some examples for that.