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
Printable View
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
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