resize icons to dynamically resize a component
I have to do something like an image editor. You will only drag, rotate and resize the images, nothing related painting or cropping. These images will be selectable so I thought to make images as panel objects. I want jpanels to be resizable dynamically. I was thinking about resize icons at the corners. How would they be implemented? I can make it someway( I can make small panels or buttons in the panel and listen mousedragged events for them) but I want to learn there if there is a standard way to do such a thing.