I want to create a custom shape for my frame. I have found a method called setShape that takes a shape object. But i am not able to implement the shape interface properly. I have looked up all the related posts on the internet but none of them helped me. Please provide a working example.
Asked
Active
Viewed 39 times
0
-
http://stackoverflow.com/questions/2163544/re-paint-problem-on-translucent-frame-panel-component/2166500#2166500 – Kumaresan Perumal Nov 21 '15 at 13:11
-
http://stackoverflow.com/questions/26205164/java-custom-shaped-frame-using-image – Kumaresan Perumal Nov 21 '15 at 13:11
-
they may help you. please read that. – Kumaresan Perumal Nov 21 '15 at 13:11
-
you cannot create a custom shape frame – ControlAltDel Nov 21 '15 at 13:12
-
Making a transparent Frame is not the same as making it a custom shape. It will still receive / block events – ControlAltDel Nov 21 '15 at 13:15
-
Its possible i have created it using generalPath object. It does not make the frame transparent or anything. – pandey909 Nov 21 '15 at 18:05