Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

resize icons to dynamically resize a component  RSS feed

 
emre onal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!