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 / First Aid / December 2006

Tip: Looking for answers? Try searching our database.

scrolling desktop banner

Thread view: 
me2 - 08 Dec 2006 18:20 GMT
I've got an odd request for a Java app.

Someone wants a scrolling banner for their desktop.  They want to leave
their wallpaper in place, but they want a Java app that periodically
scrolls certain text across their desktop.

So what SWT control would I use to scroll the text ?  How would I
smoothly make text scroll ?

And is there a way to make containers transparent ?  How about making a
shell totally transparent ?  Or is there a way to use a canvas as the main
container and not use a shell ?

Thanks in advance.  I hope these aren't silly questions.  I am pretty new
to Java and SWT.
Andrew Thompson - 09 Dec 2006 00:58 GMT
> I've got an odd request for a Java app.
>
> Someone wants a scrolling banner for their desktop.
....
> Thanks in advance.  I hope these aren't silly questions.  I am pretty new
> to Java ...

Congratulations!  In your short history of involvement
in Java, you have encountered one of the thornier,
and trickier tasks for Java.  Java is not well suited
to making transparent windows, and most attempts are
a kludge.

You might be able to glean some tips (or get a taste
for the saga) here..
<http://groups.google.com/group/comp.lang.java.gui/browse_frm/thread/b00948f2062e
9338/efb8c4c90c30bd16?hl=en#efb8c4c90c30bd16
>

There is also some mention here of a project that had
implemented tranlucent borders on things ..
<http://groups.google.com/group/comp.lang.java.advocacy/browse_frm/thread/378ce69
e8ad8d315/4dfdec202e1bef74?hl=en#4dfdec202e1bef74
>

> ...and SWT.

I have little idea about SWT - never used, but almost
guess that the same constraints apply, only much fewer
people are well versed on SWT.

Andrew T.
me2 - 09 Dec 2006 16:13 GMT
Thanks for the info, Andrew.   At least I now know that it wasn't me that
didn't understand how to do this.


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.