|newbie question [message #480397]
||Sun, 16 August 2009 18:45
Originally posted by: vicenterg.arrakis.es|
Is it possible to load an image from a file without create a new image?
I know we can do the following:
Image image=new Image(display, nameOfFile)....
But, can i load an image whithout use "new Image". I have a table and i
will to add an icon to a tableitem . If i do "new image", i must dispose
this image later. I wish to know whether i can load an image directly
from a file in the HD, something like:
Image image=loadImageFromDisk(nameOfFile), and later do:
This way i don't need to dispose it because i haven't created with "new
Is this possible? Thanks!!!
Powered by FUDForum
. Page generated in 0.02226 seconds