If you've ever looked at Windows Media Player or other apps that use skins
in this way, you may have been impressed.  I'm wondering how to do such a
thing in Java.  Specifically, how would I draw some arbitrarily-shaped
object to the screen and then populate it with controls.

Most immediately, how does one paint a non-rectangular JWindow to the
screen.  I looked at JWindow because it doesn't have all the adornments of
JFrame.  I got as far as Container.paint() and figured I'd ask the question
before going much further.

Secondly, is it possible to obtain a Graphics object for the screen and use
it to render graphics?  I played around with GraphicsEnvironment,
GraphicsDevice, and BufferedImage and got nowhere.  Is it possible to get a
valid Graphics context NOT as an argument to some paint() method?  I know
about BufferedImage.createGraphics() but when I used it the clipping
rectangle was null.  

Thirdly, what books are available for advanced Java graphics?

TIA,
rand
--------------------------------
Rand Clark
Software Design Engineer
Transoft Networks
a Hewlett-Packard company
805.883.4315
[EMAIL PROTECTED]
--------------------------------

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to