🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to fit a image into a JButton

#1253
From: Tor Iver Wilhelmsen (TeamB)
Date: Mon, 01 Mar 2004 09:15
6 lines
1042 bytes
"Jose Luis" <jherrero@unex.es> writes:

> I need to zoom in/out the image and transform its size into jbutton
> dimensions. Does anybody know how to do this?

There are image filters in java.awt.image.* you can use.
Technical Details
Message-ID: <u7jy56i8k.fsf@ergo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4042f419@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,be5f6dace717837b
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-03-01 01:39:32 PST
Sender: towi@SDSA4902
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: How to fit a  image  into a JButton
References: <4042f419@newsgroups.borland.com>
From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB))
Date: 01 Mar 2004 10:15:23 +0100
Message-ID: <u7jy56i8k.fsf@ergo.no>
Lines: 6
X-Newsreader: Gnus v5.7/Emacs 20.7
NNTP-Posting-Host: 139.105.4.216
X-Trace: newsgroups.borland.com 1078132524 139.105.4.216 (1 Mar 2004 01:15:24 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail