Graphics2D security check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

The setComposite method of anything that extends java.awt.Graphics2D
is supposed to do a permisson check if "...this Graphics2D context is
drawing to a Component on the display screen and the Composite is a
custom object rather than an instance of the AlphaComposite class."
The latter is easy to check, but how do I tell whether the context is
drawing to a Component on the display screen?

Cheers,
Gary


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux