Image copy « Icon Image « Java Swing Q&A





1. Copy and paste and Image object    coderanch.com

Do you want to do this in an application, or just do it for documentation? For documenting: If you are in a windows environment just hit printscreen the switch to the MSWord document and paste the clipboard contents into the document (cntl V). Or, if you read the code you can find the input file that creates the image. In word ...

3. Copying JComponent into an Image    coderanch.com

Michael, the code on that page (ScreenImage.java) is very handy; I'm saving that one. Unforunately, it still didn't work for these charting components. I ended up browsing through the code (which has been put through an obfuscator) and finding a render(Graphics) method which did the trick. How odd that even though the charts extend JComponent and show up in a program ...

4. Copy part of an image to another    java-forums.org

EDIT: I guess this should have been posted under the Java 2D forum. I'll repost there so this one can be deleted. Hello, I seem to be having some difficulty copying part of one image to another image. BufferedImage source // 160 pixels x 224 pixels BufferedImage dest // 16 pixels by 16 pixels What I want to do is copy ...