Hello and good morning to all you kind sirs and madams
What I'm trying to do is basically draw a Rectangle outline through left-click and then dragging the mouse to the size one wants.
After one has created this rectangle, the user can change the color of the rectangle through clicking the 3 sliders found on the top in the program. Upon the change in color, the rectangle should change from "g.drawRect" to "g.fillRect" and use the desired color.
I have the basic outline of the program done, but need help with the last part (the color and changing of the Rectangle type after changing the color)
Thanks for the help in advance!
P.S. If possible, please use the same imported things that I use and try to keep it as simple as possible (Still learning Java)
P.P.S. Is there like a "then" command in Java? Like: after you've done x, do y. That would make this heaps easier. ;)