How to take a picture from the screen and print it?
Author |
Message |
Ashi_Mashi2
|
Posted: Fri Feb 03, 2006 10:53 am Post subject: How to take a picture from the screen and print it? |
|
|
Hi,
Can anyone plz tell me how do I, first of all, take a picture from my GUI Component (I have a JPanel with drawings on them and I want to take a picture of it).
And...how to I send this picture to be printed?
thanks |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Andy
|
Posted: Fri Feb 03, 2006 12:38 pm Post subject: (No subject) |
|
|
press the Print Scrn SysRq key on ur keyboard, it should be above the insert key, and to the right of F12, then go into any drawing program and select edit paste |
|
|
|
|
|
Ashi_Mashi2
|
Posted: Fri Feb 03, 2006 3:13 pm Post subject: (No subject) |
|
|
thanks...
lol..but, i meant through java...i found the printing part...I need to pass an image/graphincs to the print method for it to work..so, now I just need to know how can I get an image of my JPanel? (like using BufferedImage/Image) of some sort...
Thanks |
|
|
|
|
|
|
|