This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
I am having an idea of creating a circle shaped JAVA swing application. I am not asking about drawing shapes inside a NORMAL java application, I just want to make my whole application a circle. How to do this? I have no idea. Please help.
Are you better than me? Then please show me my mistakes..
Java 7 finally has support for this; you can use setOpacity to change the window transparency, and setShape to change the shape of windows. Note that there are rules for calling these methods; check out the Javadoc page of java.awt.Window for more information.
Well, I found the oracle tutorial for this purpose. Anyway it is very hard to understand. Whatever I do simply throws "Window is Decorated" exception. Hope to open a new thread based on that issue. Thanks again for helping me, Rob Spoor..