Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

GUI image movement in the application window

Thread view: 
wanwan - 25 Oct 2006 16:19 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?

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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.