Article View: borland.public.jbuilder.java.swing
Article #1514Re: Images for buttons
From: Rudy
Date: Tue, 16 Dec 2003 17:05
Date: Tue, 16 Dec 2003 17:05
45 lines
2707 bytes
2707 bytes
Yeah in delphi, the buttons have this property called numGlyphs, and you can specify the images to be used. Look on the cd and find the images folder, they are all there. :) "Lori M Olson (TeamB)" <javadragon@techie.com> wrote in message news:3fdf3765$1@newsgroups.borland.com... > Rudy wrote: > > > with delphi, they have an image with has the enabled state and disabled > > state, but it is on one gif image. I am just wondering if in jbuilder as it > > is made by the same people, borland, has an option to state the number of > > images on one image, (if it makes sense) or will i need to write a custom > > one > > > > Interesting. I didn't know you could do that with Delphi. So, if I > understand you correctly, they let you specify a GIF with multiple > images (usually known as an animated GIF), and then let you specify > which specific images within the GIF should serve as the "enabled" and > "disabled" states. That is so cool. > > 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. > > -- > > Regards, > > Lori Olson (TeamB) > > ------------ > > Save yourself, and everyone else, some time and search the > newsgroups and the FAQ-O-Matic before posting your next > question. > > Google Advanced Newsgroup Search > http://www.google.ca/advanced_group_search > Other Newsgroup Searches: > http://www.borland.com/newsgroups/ngsearch.html > Joi Ellis's FAQ-O-Matic: > http://www.visi.com/~gyles19/fom-serve/cache/1.html >
Technical Details
Message-ID:
<3fdf3b5a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fde2e24@newsgroups.borland.com> <3fde51df$1@newsgroups.borland.com> <3fdf15a6@newsgroups.borland.com> <3fdf3765$1@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> Subject: Re: Images for buttons Date: Tue, 16 Dec 2003 17:05:27 -0000 Lines: 47 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: <3fdf3b5a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071594330 81.86.182.21 (16 Dec 2003 09:05:30 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail