[JAVA2D] How to create Free Form JFrame

2007-03-29 Thread java2d
Hello guys, I want to create a free form(non rectangular) JFrame. The background of the Frame will be an image. The form of the frame should be something like map. Also i want to put shade on it. Can you tell me how to do this? [Message sent by forum member 'chavdar' (chavdar)]

Re: [JAVA2D] How to create Free Form JFrame

2007-03-29 Thread Dmitri Trembovetski
Hello, First, this is not the right forum to ask this - you need to find AWT forum. But anyway, unfortunately Java does not currently support shaped toplevel windows. This is being planned for the next release. Thanks, Dmitri [EMAIL PROTECTED] wrote: Hello guys, I want to

Re: [JAVA2D] How to create Free Form JFrame

2007-03-29 Thread java2d
Thank you Dmitri ! [Message sent by forum member 'chavdar' (chavdar)] http://forums.java.net/jive/thread.jspa?messageID=210488 === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

Re: [JAVA2D] How to create Free Form JFrame

2007-03-29 Thread java2d
There are some classes included with JNA (http://jna.dev.java.net) which allow you to apply a shape mask to any window which will give it a non-rectangular shape. There is also a web-startable demo at http://rabbit-hole.blogspot.com/2007/02/non-rectangular-windows-update.html. [Message sent by