开发者

How to drag-and-drop on custom Swing components

How can I implement drag and drop on custom components, 开发者_开发百科e.g. my own JPanel subclasses?

What I need is full Swing-like drag and drop support. With TransferHandlers, DropTargetListeners etc. So the trivial mousePressed() and mouseReleased() is not what I'm looking for.


Perhaps Lesson: Drag and Drop and Data Transfer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜