I am trying to make an image slide freely in the application window,
sort of like a screensaver.
The layouts and components I find only allow things to stay stationary
. Anyone has any suggestions for me?
Thanks
Thomas Weidenfeller - 25 Oct 2006 16:41 GMT
> I am trying to make an image slide freely in the application window,
> sort of like a screensaver.
>
> The layouts and components I find only allow things to stay stationary
> . Anyone has any suggestions for me?
This is nothing you do with a layout. This is something you do with the
Java2D API on some kind of drawing area. If you use Swing that is
typically a JPanel, if you use AWT that would be Canvas.
For advanced fun one would use full-screen mode and screen buffers.
BTW, there is some java screensaver extension somewhere at java.net
/Thomas

Signature
The comp.lang.java.gui FAQ:
http://gd.tuwien.ac.at/faqs/faqs-hierarchy/comp/comp.lang.java.gui/
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
Andrew Thompson - 25 Oct 2006 23:52 GMT
> I am trying to make an image slide freely in the application window,
What Thomas said +..
> sort of like a screensaver.
Since you both mentioned it..
<http://screensavers.dev.java.net/>
Complete with several open source image slideshows, including
<https://screensavers.dev.java.net/#nice2cu>
<https://screensavers.dev.java.net/#slidersaver> * and
<https://screensavers.dev.java.net/#sszoom>
* By me, includes 'slide', 'zoom', 'fade' and 'wipe' transitions.
Yet to be included in the screensaver pack.
Andrew T.