I am new to Java and I am coding a small drawing application for learning purpose.
My question is simple: how can I draw in Java. For example, I have some icons. Whenever I click one icon, if I click on the drawing area (how to define a drawing area?), then a figure represented by the icon will be put on the drawing area. I can move, scale, delete the figure. Just like any drawing program.