|
-
September 24th, 1999, 05:24 AM
#1
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
-
September 25th, 1999, 04:08 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|