Hi,
Can anybody explain why that doesn't work:
BufferedImage img = new BufferedImage(100,100);
Graphics2D gfx = img.createGraphics();
gfx.drawImage(img.getSubimage(0,50,100,50), 0, 50, null);
I don't know any other possibility to trim an image, do you?
Thanks for your hint tsdragon. The problem was that I didn't only want to set URL of the other frame but also get the URL of it.
Original I wanted to get the URL because it decides what I am going to write in the other frame with javascript. But if that doesn't work I have to create an extra...
I'll try to specify my problem:
I'm having a frameset with two Frames, A and B. But the source of Frame A is at another domain (www.A.com/A.html) than Frame B (www.B.com/B.html).
If www.A.com/A.html in Frame A is loaded I want to load www.B.com/B.html in Frame B. Therefore I use...
Hi,
I'm having the same problem:
"access disallowed from scripts at
http://www.example.com to documents at another domain."
Is there any solution to access the data although the frame sources are from two different domains?
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.