I have two JLabels. One of them is a large image.
When I click on the smaller label, it is 'glued' to the mouse. Meaning it moves to where ever the mouse pointer takes it.
When the mouse is clicked again, the label is 'unglued' and stays where it was dropped.
The idea is that this small label needs to be dropped onto the large label.
The problem is that the small label is behind the large label. I cant seem to bring it to the front.
I'm not using a layout manager (setLayout(null)).