Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Java Swing how would I make it so that the 2 JSliders get the coordinate on the canvas? The vertical slider will get the
In Java Swing how would I make it so that the 2 JSliders get the coordinate on the canvas? The vertical slider will get the y coordinate and the horizontal will get the x coordinate( So for example where the red dot is in the picture). Then use those coordinates to set where a image is to be set with a button, but the image is not inserted until the button is pressed(the button is not in the picture, the picture was a mock up how the sliders point to the coordinate).