Article View: borland.public.jbuilder.java.swing
Article #13325Re: How to have an image as the background of an Applet?
From: Paul Furbacher
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
17 lines
1103 bytes
1103 bytes
Fabrice Pati wrote: > Writing an applet with the Swing package > (JApplet), I want to have an iamge > as the background of my applet. > > I know how to change the background's color, > but not how to set an image as the background. If you are using a bevel panel, you could set the "texture" property. If not, you could study how the JBCL BeanPanel does this. It uses the ImageTexture class to paint on the panel's canvas. Paul Furbacher
Technical Details
Message-ID:
<35D0C559.FB4CE546@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6qpd6i$1lk1@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e1c92a557112b4df X-Google-Attributes: gid111d45,public From: Paul Furbacher <pf@bilbo.bio.purdue.edu> Subject: Re: How to have an image as the background of an Applet? Date: 1998/08/11 Message-ID: <35D0C559.FB4CE546@bilbo.bio.purdue.edu> X-Deja-AN: 380201543 Content-Transfer-Encoding: 7bit References: <6qpd6i$1lk1@forums.borland.com> To: Fabrice Pati <fpati@orli.fr> Content-Type: text/plain; charset=us-ascii Organization: Biological Sciences, Purdue Univ. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.swing