🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #422

Re: How can I get file icon automatically in my app.

#422
From: Owen Green
Date: Fri, 12 Dec 2003 12:08
13 lines
1383 bytes
On 11 Dec 2003 21:44:00 -0700, daniel wrote:

> 
> hi,
> I want to display files in my view.I want it display just like windows explorer and the file icon is the same .For example .exe file icon in windows is the same as my file icon in java app.
> How can I do it?

I think the only way this is acheiveable is via JNI, which is tricky and
would render your application less portable. 


--
Owen
Technical Details
Message-ID: <2tf0jlzwifcb.cb74stg80ll1$.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <3fd955a0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,c77f3f2f95ef7fdd
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-12-12 04:24:31 PST
From: Owen Green <o.t.green@ntlworld.com>
Subject: Re: How can I get file icon automatically in my app.
Newsgroups: borland.public.jbuilder.java.api
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <3fd955a0$1@newsgroups.borland.com>
Date: Fri, 12 Dec 2003 12:08:21 +0000
Message-ID: <2tf0jlzwifcb.cb74stg80ll1$.dlg@40tude.net>
User-Agent: 40tude_Dialog/2.0.5.1
NNTP-Posting-Host: 80.1.205.234
X-Trace: newsgroups.borland.com 1071231013 80.1.205.234 (12 Dec 2003 04:10:13 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail