CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    UK
    Posts
    23

    Irregular Shapped window

    Hi All

    Does any body know how to create an irregular shaped window/frame in java e.g a window with 6 sides or 3 sides.

    -Vikram



  2. #2
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: Irregular Shapped window

    I don't think so. At least not with Frame, as it draws border and caption by default. But there may be a work around in case of 'Window'. U can try sub-classing 'Window' class. It doesn't draw border and caption by default. Then in the paint method u can draw whatever shape u want.

    I haven't tried this, this is just a suggestion.

    - UnicMan
    http://members.tripod.com/unicman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured