Drag « Button « Java Swing Q&A





1. [SOLVED] Drag buttons    java-forums.org

I've just started making a board game simulator in Java, and I want to make it possible to drag pieces from one place to another. I don't know if JButtons or JToggleButtons are the best for the job, but that's what I came up with, and it's the only thing I think I can handle anyways. But I don't know how ...