Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Swing / AWT / SWT and the fly likes creating a tiled watermark Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating a tiled watermark" Watch "creating a tiled watermark" New topic

creating a tiled watermark

liliya woland
Ranch Hand

Joined: Apr 11, 2006
Posts: 134
I have a small image that works as a watermark in a servlet. At this point I'm modifying the width and height of the image to cover a given area. I'd like to tile the image instead of resizing it. Any recommendations?
Thanks in advance. liliya
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
You can use the TexturePaint class for this.
Franz Allan See

Joined: Nov 10, 2007
Posts: 2
Good day,

Have you figured it out? This may be a good addition to Watermarker ( [1] ).


I agree. Here's the link:
subject: creating a tiled watermark