How can I draw a circle on JPanel without using the method «getGraphics»?
1
Expert's answer
2010-09-14T12:21:41-0400
You can create your own class inherited from JPanel and override its method «paint». There is a variable of the type «Graphics» advocated as the parameter for the method «paint». You will have to call the method «drawOval» and specify the parameters for the variable that will contain the graphics.
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments