🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11443

Re: .ico files ?

#11443
From: Matt Krevs
Date: Tue, 01 Jun 1999 00:00
19 lines
1186 bytes
I'm not sure, but I have a feeling that the .ico format is Windows specific
and hence not supported in Java. You can try

setIconImage( Toolkit.getDefaultToolkit().getImage(iconfilename) );

but I have a feeling you'll have to change your .ico file to a .gif file
before things will work. SHouldnt be too hard.

Any graphics experts out there that know for sure?

Sohan Mendis <sohan@maxtrak.com> wrote in message
news:7itcic$d5c4@forums.borland.com...
> I can set .gif  but when it comes to .ico as in VB .....
>
> How can I set .ico file appear in Frame top left hand corner .
>
> Sohan
>
>
Technical Details
Message-ID: <7iv35d$epo1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7itcic$d5c4@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,91612ccecbe80f79
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: .ico files ?
Date: 1999/06/01
Message-ID: <7iv35d$epo1@forums.borland.com>
X-Deja-AN: 484238055
References: <7itcic$d5c4@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Matt Krevs" <mattkrevs@flex.com.au>
Newsgroups: borland.public.jbuilder.java.swing