🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Images for buttons

#1515
From: Rudy
Date: Tue, 16 Dec 2003 17:06
33 lines
2440 bytes
Cool, thanks for that, are you saying i cannot call the class but just look
at it and get ideas??
Thnaks
Rudy
"Gillmer J. Derge (TeamB)" <spam@gillmerderge.com> wrote in message
news:3fdf39ac@newsgroups.borland.com...
> "Lori M Olson (TeamB)" <javadragon@techie.com> wrote in message
> news:3fdf3765$1@newsgroups.borland.com...
> > if I
> > understand you correctly, they let you specify a GIF with multiple
> > images (usually known as an animated GIF),
>
> I think it's more tiles than animation.  Say you have a 16x32 GIF, you
> can divide that up into two 16x16 tiles.
>
> JBuilder does this with its toolbar icons which are all tiles on a giant
> image that contains dozens of icons.  One of the situations where I've
> seen this used is applets where it can be helpful to reduce the number
> of separate files that need to be downloaded -- download one big image
> instead of 20 small ones.
>
> > But... sorry, AFAIK the images in Java do not have this ability.  It
> > should not be that difficult to implement, though, if you really need
> it.
>
> You could use the com.borland.primetime.util.Icons class and the nested
> IconFactory class as a model for the API.  The class is neither
> documented nor redistributable, so you can't use it as is, but it looks
> fairly simple and might offer some ideas.
>
> -- 
> Gillmer J. Derge (TeamB)
>
Technical Details
Message-ID: <3fdf3ba4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fde2e24@newsgroups.borland.com> <3fde51df$1@newsgroups.borland.com> <3fdf15a6@newsgroups.borland.com> <3fdf3765$1@newsgroups.borland.com> <3fdf39ac@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,75cc1eea82261cd8
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-16 09:11:38 PST
Reply-To: "Rudy" <rhentzen@hotmail.com>
From: "Rudy" <rhentzen@hotmail.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3fde2e24@newsgroups.borland.com> <3fde51df$1@newsgroups.borland.com> <3fdf15a6@newsgroups.borland.com> <3fdf3765$1@newsgroups.borland.com> <3fdf39ac@newsgroups.borland.com>
Subject: Re: Images for buttons
Date: Tue, 16 Dec 2003 17:06:42 -0000
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 81.86.182.21
Message-ID: <3fdf3ba4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071594404 81.86.182.21 (16 Dec 2003 09:06:44 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail