Link to home
Start Free TrialLog in
Avatar of Priyan
Priyan

asked on

CreateImage!!!

Hello all,
How does CreateImage work?Suppose i have got a JFrame visible at the moment.Is it possible to create the image of that visible Jframe so that later on i can draw this.
With regards
Priyan.T
ICQ:54490947
mail:priyan.thirithiyil@lisec.com
Avatar of heyhey_
heyhey_

yes, it is possible :)
:)
Avatar of Priyan

ASKER

hello all,
i think i should make my question a little bit more elaborate.What does createImage do,is it just creating a memory area which can be used for double buffering or will it actually returns an image of that component
if i have got a class extending from JFrame and if i write "Image img =this.createImage(this.getBounds().width,this.getBounds().height);" does it actually create the image of that component,so that later on if i use g.drawImage(img,.....)it will be visible.Please excuse me if you find this question a little bit odd!
With regards
Priyan :)
ASKER CERTIFIED SOLUTION
Avatar of heyhey_
heyhey_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Priyan

ASKER

Hello,
Thanx heyhey for your help.
With regards
Priyan
Avatar of Priyan

ASKER

sorry for the points,it should have been 10.i didn't notice it.
rgds
Priyan.T
it's ok

I received 10 x 4 (grade A) points.
the question now worths 1 point (10 / 10) and everybody that wants to see the answer will have to pay 1 point :)