• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Initial Image

Hi,


I know this is weird...but what I want to do is creating an image without any image...so how can I do so?

I tried this "Image tmpImage = new Image();" which was not working...any idea how can I do this?


Xenia
0
xenia27
Asked:
xenia27
  • 2
1 Solution
 
objectsCommented:
Image i = component.createImage(width, height);
0
 
objectsCommented:
or create BufferedImage

BufferedImage bi = new BufferedImage(width, heigth, type);
0
 
xenia27Author Commented:
OK...got it...thanks~~~  ^^
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now