A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java Micro Edition
How to set a Background that not stretch?
Joined: May 03, 2005
Aug 25, 2006 13:14:00
I'm trying to set a background image in a app with some code like:
Image2D backgroundImage2D = new Image2D( Image2D.RGB, backgroundImage );
In paint I paint it like:
But the problem is that the image is stretched over the screen. I would like it to stay in center and not be stretched.
So if you guys got any ideas please let me know.
Best regards<br />Fredrik
Don't get me started about those stupid
subject: How to set a Background that not stretch?
Java2D question.: How can you superimpose an image on another?
Painting an image on a button
How to set image as background of JTree component
Creating a 'background'
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014