Article View: borland.public.jbuilder.java.api
Article #3184creatImage null
From: liubin
Date: Tue, 14 Apr 1998 00:00
Date: Tue, 14 Apr 1998 00:00
12 lines
851 bytes
851 bytes
Dir Sir,
When I use createImage(int,int) function in Frame, it returns
'null';
when I use it in a subclass of Canvas, it returns 'null' too.
I use it successfully in Applet.
But function createImage(int,int) is a method of java.awt.Component,
and Frame and Canvas are all its subclasses.
So, why does this problem occurs?
Some guru's help?
Technical Details
Message-ID:
<3532AD91.91E54B38@sky.whnet.edu.cn>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,e3b66755608a7c73,start X-Google-Attributes: gid1089d0,public From: liubin <liubin@sky.whnet.edu.cn> Subject: creatImage null Date: 1998/04/14 Message-ID: <3532AD91.91E54B38@sky.whnet.edu.cn> X-Deja-AN: 343757260 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api