Perry Smith

Java Questions & Answers

Home / Java Q & A Page 2 / Java Q & A Archive Main Page

Images
 Friday, 30-Oct-98 10:10:04

      152.158.16.129 writes:

      How do yo make an image be the background to text, instead of a colour?

      matt_howard@uk.ibm.com


Responses
Re: Images
 Friday, 30-Oct-98 20:03:31

      152.205.252.251 writes:

      You don't, as far as I know. You could make text as the foreground of an image though ....

      MikeD


Re: Images
 Saturday, 31-Oct-98 04:30:56

      202.54.24.172 writes:

      How can we place an image on canvas or on frame?

      anjalijain

Re: Re: Images
 Wednesday, 11-Nov-98 13:38:18

      148.5.110.65 writes:

      Once you get the image...
      Image theImage = getImage(getDocumentBase(), "theImageName.gif");

      add the line below to the frame's paint method.
      g.drawImage(theImage, leftPosition, topPosition, theImageListener);


      Scott_M2

Home / Java Q & A Page 2 / Java Q & A Archive Main Page