-
How do i use "getImage();" in an application?
I have been working with java for a month or so now; and I have been struggling
with a certain concept. The compiler wont except getImage(); in a frame.
Is there any way to get an image in a frame? PLEASE email me or post a message
here.
My email is: sadieur@yahoo.com
Thanks,
Sadieur
-
Re: How do i use "getImage();" in an application?
When you say "get an image in a frame" does that mean you want to PUT an
image in a frame, or that you want to get an image FROM a frame? Or
something else?
PC2
"Sadieur" <sadieur@yahoo.com> wrote in message
news:3ae23375$1@news.devx.com...
>
> I have been working with java for a month or so now; and I have been
struggling
> with a certain concept. The compiler wont except getImage(); in a frame.
> Is there any way to get an image in a frame? PLEASE email me or post a
message
> here.
>
> My email is: sadieur@yahoo.com
>
> Thanks,
> Sadieur
-
Re: How do i use "getImage();" in an application?
if you use the getImage() method in application, the compiler will not accept.instead
you should use Image i=new BufferedImage();then use create image.but if you
build a appleat embeded in the browser.the BufferedImage class will not be
accepted.this time you should use the getImage() method
although the compiler will not accept.but in browser will work correactly.
"Sadieur" <sadieur@yahoo.com> wrote:
>
>I have been working with java for a month or so now; and I have been struggling
>with a certain concept. The compiler wont except getImage(); in a frame.
>Is there any way to get an image in a frame? PLEASE email me or post a message
>here.
>
>My email is: sadieur@yahoo.com
>
>Thanks,
>Sadieur
-
Re: How do i use "getImage();" in an application?
Hi
"Hope if this is what you are looking for"
Use getToolkit() method from the Frame which returns the Toolkit object which
has methods to create Image object
getToolkit().createImage(URL);
Regards
Rajkamal
"pepper_dog999" <liuji@topgroup.com> wrote:
>
> if you use the getImage() method in application, the compiler will not
accept.instead
>you should use Image i=new BufferedImage();then use create image.but if
you
>build a appleat embeded in the browser.the BufferedImage class will not
be
>accepted.this time you should use the getImage() method
>although the compiler will not accept.but in browser will work correactly.
>
>"Sadieur" <sadieur@yahoo.com> wrote:
>>
>>I have been working with java for a month or so now; and I have been struggling
>>with a certain concept. The compiler wont except getImage(); in a frame.
>>Is there any way to get an image in a frame? PLEASE email me or post a
message
>>here.
>>
>>My email is: sadieur@yahoo.com
>>
>>Thanks,
>>Sadieur
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks