I am trying to select a coordinate from a grid using JSliders
. Can I make it so when it clicks one it clicks the other as well, one is vertical while the other is horizontal? So I can drag them both at once.
What I'm trying to do is set the horizontal slider based on horizontal movements of the mouse and set the vertical slider based on vertical movements of the mouse.