1. Drag and Drop: what should my sources and targets be? coderanch.comD-n-d gurus, I need your help. I'm creating a backgammon game, and need help in figuring out what components should be sources, and what should be targets. The way the board works is that each point on the board is a separate object. The checkers (also separate objects) are contained within the point in a vector. Checkers are added/subtracted to/from the ... |
2. Drag and Drop where source and destination are the same. coderanch.comI am wanting to create a application which has a flowchart/drawing type capability. If I have a simple swing frame with desktop pane and say a jbutton on it, would it be possible to move that button around by using the drag and drop functionality ? I don't want to move it to another container, just move it's x-y position using ... |