This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, ijust want to know why do we always have a square or rectangular shaped frames or windows why dont we have user defined interface like various shapes circle,ovels so that we can place some components on them instead of very old rectangulat or square shaped ones bye
All Windows are square/rectangle. Even those oval ones you see. What they are doing is using a square image with a shape on it. Everything outside of the shape has been given transparent properties. Thus giving the effect of an oval or mishapen window. Java doesn't do this because it is considered an OS Dependent procedure. And JAVA is supposed to be System Independent. L2FPROD is a JAVA API with some JNI wrapper DLL's that will allow you to create non-square windows. IT ONLY WORKS IN WINDOWS!!!