Hello, does someone know if you can make the background transparent?

Well, the title says it all really; I`m trying to keep the windows desktop visible behind my 3D bits & bobs, but obviously I don`t know how or even if it`s possible... keep it virtual
[208 byte] By [Slatibartfast] at [2007-9-26 6:35:21]
# 1
No, it is not possible. The reason is that the Canvas3D is a heavyweight component.Read more at http://java.sun.com/products/jfc/tsc/articles/mixing/
pszawlow at 2007-7-1 15:48:53 > top of Java-index,Security,Cryptography...
# 2

This depends on the effect you want to produce. If you need the background dynamic it is more complicated but if you want to pull a fast one with the software this reminds me of an old windows program that was a lot of fun years ago.

Basically trap the entire screen into a bitmap file. Next execute your program and load the screen bitmap as the background. Now run your program graphics in front of the bitmap.

To pick up a dynamic background you need to minimize your program so the background can execute, execute a windows shell program to trap the screen into a bitmap file, maximize your program and read in the bitmap for your program.

In the early 1980's there was a program that did what I suggested above. They trapped the windows screen into a bitmap, executed their program and placed the windows screen back up under their control. Next they trapped the mouse and keyboard and then simulated windows operations by calling the operating system commands. The user was not aware they were talking to a fake windows program.

Now the fun began. The window started to crack. Icons started to bend and break and eventually fell from the top of the screen to the bottom. Finally the whole windows program crumbled to the bottom of the screen and the screen went black.

I suspect a heavy business user with important files was terrified but most of us played it over and over. No damage was ever done. The program terminated after a few minutes and restored the windows screen.

Anything can be done or simulated on a computer screen, you just may need to be less traditional.

Roger

genus1 at 2007-7-1 15:48:53 > top of Java-index,Security,Cryptography...