File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Swing / AWT / SWT
how to get image from JPanel
Joined: Mar 14, 2012
Apr 04, 2012 06:08:51
So, as I understood(may be not correctly) in order to save an
I need a bufferedImage to read from some image like
BufferedImage bi = getMyImage();
bi = ImageIO.read(new File("bld.jpg"));
but if I don't have an image I mean I have it but on my
and it is exactly the image that I want to save how can I do then???
Joined: Oct 27, 2005
Apr 04, 2012 10:28:35
How did you get it onto your
? Is it an
wrapped in a
? Or did you create it in paintComponent?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: how to get image from JPanel
applet x/y coordinates
Writing Image onto a WordDoc
After screen Capture(to a Gif File)?????????
adding images to JPanel ***************URGENT
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015