A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
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 image 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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: how to get image from JPanel
After screen Capture(to a Gif File)?????????
adding images to JPanel ***************URGENT
Writing Image onto a WordDoc
applet x/y coordinates
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014