Yakisoba
08-18-2006, 07:43 AM
is it possible to Drag and Drop a shape (say a rectangle) from one JPanel(A) to another JPanel (B)?
Just started diving into GUI development and java.awt.dnd.
Currently I have a JFrame with three JPanels (A, B, C)...
In JPanel "A" I have drawn a rectangle.
I am working toward having the ability to drag and drop the rectangle among the different JPanels.
Any suggestions would be greatly appreciated.
Thanks,
Yak
Just started diving into GUI development and java.awt.dnd.
Currently I have a JFrame with three JPanels (A, B, C)...
In JPanel "A" I have drawn a rectangle.
I am working toward having the ability to drag and drop the rectangle among the different JPanels.
Any suggestions would be greatly appreciated.
Thanks,
Yak