Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4115607

Wallpaper in applet panels, windows and frames

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • generic, x86
    • generic, windows_nt

      PeopleSoft wants to be able to set an image as the background for a applet or application simply. Resizing the background image to conform to a resize of the container is one piece of wallpaper functionality; being able to tile the image to conform to a resize is another important function.

      The customer would like to be able to do both in Java using an API.

      Name: dbT83986 Date: 04/13/99


      Right now, we can make a JLabel which displays a single
      IconImage. Another useful component would be one that tiles its
      image. It would fill all the available space with the tiled
      image.

      Here's an example of how I would use this:

      Suppose I have an icon in the left corner of a panel which goes
      in the NORTH end of a BorderLayout. I don't want the rest of the
      space to be a solid color. I would shove the icon into the WEST
      end of this North panel, and I would put the tiled icon into its
      center. Then I would place this entire panel into the NORTH end
      of another panel.
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: