64 765
Assignments Done
99,3%
Successfully Done
In September 2018

Answer to Question #632 in Java | JSP | JSF for Caroline

Question #632
How can I draw a circle on JPanel without using the method «getGraphics»?
Expert's answer
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.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions