I have a JPanel at one of the constraints (North, South, East, West) of
a BorderLayout and on mouseDragged, I relocate it to the nearest dragged
constraint.
There are many ways to skin a cat. The question is, is it better do do
it using DnD rather than determining using mouseDragged and then
relocate the constraint?
Boudewijn Dijkstra - 30 May 2005 17:51 GMT
>I have a JPanel at one of the constraints (North, South, East, West) of a
>BorderLayout and on mouseDragged, I relocate it to the nearest dragged
[quoted text clipped - 3 lines]
> using DnD rather than determining using mouseDragged and then relocate the
> constraint?
DnD is for (inter-)application data transfer, not for in-application layout
changes.