>>>  Home   User-Center   Board
     
 

 
Post new topic   Reply to topic    Webhosting Forum » Java & Javascript » Java splash screen demo with transparency
View previous topic :: View next topic  
Author Message
ven
Moderator


Joined: 10 Dec 2004
Posts: 2064
Location: USA

PostPosted: 23.01.05 07:42    Post subject: Java splash screen demo with transparency Reply with quote
I decided to post this sample code so that others don't have to suffer as much as I did trying to figure out how to do transparency directly in the host Operating system. The short answer: you can't. The long answer: it's technically possible, but extremely hard. It is also possible to simulate or "fake" transparency, by using the Java Robot class, by taking a screenshot and manipulating it to make your program "magically" appear on the screen. Of course, the problem with that is, the background will not change if something happens on the real desktop, and the fake transparency will be seen immediately. That is why the splash screen should not appear for very long. I purposely made it appear for a long time so anyone can experiment with background windows while it's running and see what happens.

The source code can be downloaded at http://www.veneficus.info/projects/programming/. No compiled version is available.
Back to top
View user's profile Send private message
deathangels
Little-Fun


Joined: 19 Dec 2004
Posts: 28
Location: united states

PostPosted: 23.01.05 14:25    Post subject: Reply with quote
maybe you could post a demo? Wink
_________________

Back to top
View user's profile Send private message
ven
Moderator


Joined: 10 Dec 2004
Posts: 2064
Location: USA

PostPosted: 23.01.05 20:09    Post subject: Reply with quote
The code is the demo Wink

In case I didn't make it clear, this is Java, not JavaScript. You can't include it in your webpages, unless you make it into an applet, which would be a waste of resources. This demo is to be used in actual Java programs.
Back to top
View user's profile Send private message
deathangels
Little-Fun


Joined: 19 Dec 2004
Posts: 28
Location: united states

PostPosted: 24.01.05 20:50    Post subject: Reply with quote
oooooooooh my mistake Very Happy
_________________

Back to top
View user's profile Send private message
DanTheMan
Funnilein


Joined: 11 Jul 2005
Posts: 4

PostPosted: 13.07.05 01:43    Post subject: Reply with quote
dont u need like a compiler to write java and stuff? sry i dont know much about java except u can make games with it Smile
Back to top
View user's profile Send private message
ven
Moderator


Joined: 10 Dec 2004
Posts: 2064
Location: USA

PostPosted: 13.07.05 02:55    Post subject: Reply with quote
You need a compiler to compile code, not to write it Wink
Anyway, Java is a multiplatform language, where you can write a peice of code once and it will run correctly on Windows, Linux, Mac OS, Solaris, whatever.
_________________

Back to top
View user's profile Send private message
Post new topic   Reply to topic    Webhosting Forum » Java & Javascript

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Impressum Datenschutz