Hi,
I'm developing a drag and drop application. I drag labels(with icons set) by changing their x & y positions using MouseMotionListener. I add this array of labels to a panel in order. The problem is when I drag the labels, the labels that are added last, go below the ones that were added first(due to the order in which they were added). They don't overlap. I want all labels irrespective of their order of addition to the panel, to overlap all other labels when they are dragged individually.
Please help.
Thanks.