How can i drag a JButton on a JPanel with null layout

?Thanks
[21 byte] By [deviancea] at [2007-10-3 10:20:19]
# 1
> ?Exactly. Please be more specific. Are you talking about drag and drop? What does this have to do will a null layout?
zadoka at 2007-7-15 5:41:40 > top of Java-index,Desktop,Core GUI APIs...
# 2
add a mouseMotionListener to the button, and in mouseDragged, change the location of the button
Michael_Dunna at 2007-7-15 5:41:40 > top of Java-index,Desktop,Core GUI APIs...