| Sign In/My Account | View Cart |
| Article: |
Hacking Swing: Translucent Windows | |
| Subject: | Java 5 Problems | |
| Date: | 2005-12-01 11:15:32 | |
| From: | jamescook2 | |
| It seems that in Java 5 (on Windows) the frame.hide() and frame.show() methods cause a focus lost/gained event to fire creating an infinite loop of flicker. | ||
Showing messages 1 through 2 of 2.
In addition, this code causes the background area to blur slightly and fade towards white a bit. It's like the effect that you might see in Window's Vista, just not as nice/native. I also get rid of the unnecessary create of Date objects that are in the original code base. Less objects created the better.