Basically , I just need to copy the selected area of JImagePanel and paste on it JImagePanel
Piet Souris wrote:hi Luso,
You seem to have solved it completely, so well done!
Sorry I didn't reply, but I was working on your program yesterday evening.
I was facing three problems:
1) the offset of the crop was wrong
2) dragging made the crop always appear behind the original, in stead of in front
3) loading another image lead to havoc
I tried a couple of things (well, many things), but I couldn't get it to work properly.
Couple of weeks ago I was working on a more or less similar program.
It was something we had to write for some iOS programming course.
If you're interested in it, let me know.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton