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 / GUI / September 2004

Tip: Looking for answers? Try searching our database.

Digital Clock - Transparent Background

Thread view: 
Matthew - 25 Sep 2004 14:09 GMT
I am planning on learning the Java language.  I have heard it is very
useful, and integrates well with Macromedia ColdFusion.  Not sure about
details, but I guess that comes later.

Anyway, I have a small project at the moment and I wanted to be sure Java
could acheive the effect before I started.

I want a countdown timer centered on a computer screen.  It would be nice to
have big letters in that analog clock font.  The numbers need to be the only
thing in my program showing so a transparent background is a must.

My question is: can this be done?  While it would be nice to see an example,
a simple yes or no would be helpful too.

Thanks in advance,

Matthew
Andrew Thompson - 25 Sep 2004 15:04 GMT
> ..a transparent background is a must.
>
> My question is: can this be done?  

No, <http://www.physci.org/guifaq.jsp#2.5>, but here is the
beginnings of how you might approach a (kludgy) form of it..
<http://google.com/groups?selm=400ff364%240%246972%247a628cd7%40news.club-internet.fr>

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.lensescapes.com/  Images that escape the mundane

Matthew - 27 Sep 2004 01:33 GMT
> Here is the
> beginnings of how you might approach a (kludgy) form of it..
> <http://google.com/groups?selm=400ff364%240%246972%247a628cd7%40news.club-internet.fr>

That idea is an amazing workaround.
Unfortunately, it won't work for my application.  I have a movie playing in
another program that needs to be visible behind the clock.

> > My question is: can this be done?
> No <http://www.physci.org/guifaq.jsp#2.5>

I apologize, I didn't know there was a FAQ.  I'll check that before posting
next time.

Quoting that section of the FAQ:
Q: How can I make a transparent or non-rectangular window?
A: You can't in a good, platform independent way.

That makes it sound like there is a way to do it in a platform specific way.
I have a Win XP Pro computer, and that's the only one this needs to function
on.
Does this change anything?

Matthew
Andrew Thompson - 27 Sep 2004 07:25 GMT
> That makes it sound like there is a way to do it in a platform specific way.
> I have a Win XP Pro computer, and that's the only one this needs to function
> on.
> Does this change anything?

My level of interest*.  Good luck with it.

* .NET would probably be the best dev.
language to achieve what you want.

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.lensescapes.com/  Images that escape the mundane

Matthew - 27 Sep 2004 14:06 GMT
>> Does this change anything?
>
> My level of interest*.  Good luck with it.
>
> * .NET would probably be the best dev.
> language to achieve what you want.

Sorry about that.  I'll look into Visual Basic .NET.
When I was reading about Java on Sun's web site, it sounded like it could do
anything but wash your dishes (no offense to you folks).
As I understand it, Visual Basic only runs on Windows computers.  Java's
strength is it can run on (almost?) any platform, and allows multithreaded
code.
Is this true, and are there any other compelling reasons to learn Java
instead of or alongside VB that I don't know about?

Matthew
Andrew Thompson - 27 Sep 2004 14:33 GMT
> ..Java's strength is it can run on (almost?) any platform,

True.  As a result of which, it either foregos some very OS
specific functionality, or alternatively invites you to use
JNI or Runtime.exec() or other such mechanisms to hook into
libraries and executables of the underlying OS.

Unfortunately, x-platform comes at a price.

> ..and allows multithreaded code.

That is a major advantage of Java, the inbuilt nature
and inherent ease of use, of basic multi-threading.

> Is this true, and are there any other compelling reasons to learn Java
> instead of or alongside VB that I don't know about?

Probably many, but I concentrate on Java mostly for it's
x-platform ability.  OTOH, there is good reason to learn
a second (at least) language, just so you do not fall into
the "When you have a hammer, everything looks like a nail."
syndrome.

If you are coding a project for a Win PC base exclusively,
.Net makes a lot of sense.

HTH

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.lensescapes.com/  Images that escape the mundane

Matthew - 27 Sep 2004 18:04 GMT
> There is good reason to learn
> a second (at least) language, just so you do not fall into
[quoted text clipped - 3 lines]
> If you are coding a project for a Win PC base exclusively,
> .Net makes a lot of sense.

I'll keep that in mind.  Thanks for all your help!

Matthew


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.