Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why do we always have rectangular or square frames or windows why not ovel

 
Sunil Babu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic