This topic contains a solution. Click here to go to the answer

Author Question: If you want to draw a red circle inside of a green square in an applet where the paint method is ... (Read 28 times)

tuffie

  • Hero Member
  • *****
  • Posts: 534
If you want to draw a red circle inside of a green square in an applet where the paint method is passed a Graphics object called page, which of the following sets of commands might you use?
◦ page.setColor(Color.green); 
page.fillRect(50, 50, 100, 100);
page.setColor(Color.red);
page.fillOval(60, 60, 80, 80);
◦ page.setColor(Color.red);
page.fillOval(60, 60, 80, 80);
page.setColor(Color.green);
page.fillRect(50, 50, 100, 100);
◦ page.setColor(Color.green);
page.fillRect(60, 60, 80, 80);
page.setColor(Color.red);
page.fillOval(50, 50, 100, 100);
◦ page.setColor(Color.red);
page.fillOval(50, 50, 100, 100);
page.setColor(Color.green); 
page.fillRect(60, 60, 80, 80);
◦ any of these would accomplish this


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by tuffie on Aug 30, 2020

Jordin Calloway

  • Sr. Member
  • ****
  • Posts: 334
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 56% of students answer this correctly




tuffie

  • Member
  • Posts: 534
Reply 2 on: Aug 30, 2020
Thanks for the timely response, appreciate it


pratush dev

  • Member
  • Posts: 321
Reply 3 on: Yesterday
Gracias!

 

Did you know?

Always store hazardous household chemicals in their original containers out of reach of children. These include bleach, paint, strippers and products containing turpentine, garden chemicals, oven cleaners, fondue fuels, nail polish, and nail polish remover.

Did you know?

The Centers for Disease Control and Prevention (CDC) was originally known as the Communicable Disease Center, which was formed to fight malaria. It was originally headquartered in Atlanta, Georgia, since the Southern states faced the worst threat from malaria.

Did you know?

According to the American College of Allergy, Asthma & Immunology, more than 50 million Americans have some kind of food allergy. Food allergies affect between 4 and 6% of children, and 4% of adults, according to the CDC. The most common food allergies include shellfish, peanuts, walnuts, fish, eggs, milk, and soy.

Did you know?

One way to reduce acid reflux is to lose two or three pounds. Most people lose weight in the belly area first when they increase exercise, meaning that heartburn can be reduced quickly by this method.

Did you know?

The most common childhood diseases include croup, chickenpox, ear infections, flu, pneumonia, ringworm, respiratory syncytial virus, scabies, head lice, and asthma.

For a complete list of videos, visit our video library