ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Hacking Swing: Translucent Windows
Subject:   RE: Nice but the flashing makes it impractical
Date:   2005-11-29 15:39:16
From:   dataxpress
Response to: Nice but the flashing makes it impractical

The reason we have to hide() the jframe is so that we can see the background. The method used to capture the screen captures exactly what you see-- if we didn't hide the jframe, it would show up. Instead of hiding the window, you could move it so that it is outside of it's own coordinates, and the move it back-- but this would probably be just as annoying if not more annoying than simply hiding and unhiding it.