This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a application that shows a pgm image read it of a file. When I read the image, I show two frames, one with the original size (with scrolls) ant another with the same image but with a smaller size. In this second frame I have to draw a litttle square that represents the zone of the image diplayed on the frame with the original size.
I display the image, assign it to a label, and run's ok.
To draw a square I think I have to use canvas �?, but when I draw the square, the label with the image disappear from the frame.
I think I've made something wrong, can somebody help me? any advice will be welcome.