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 36 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


chereeb

  • Member
  • Posts: 326
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

When blood is deoxygenated and flowing back to the heart through the veins, it is dark reddish-blue in color. Blood in the arteries that is oxygenated and flowing out to the body is bright red. Whereas arterial blood comes out in spurts, venous blood flows.

Did you know?

More than 150,000 Americans killed by cardiovascular disease are younger than the age of 65 years.

Did you know?

The average person is easily confused by the terms pharmaceutics and pharmacology, thinking they are one and the same. Whereas pharmaceutics is the science of preparing and dispensing drugs (otherwise known as the science of pharmacy), pharmacology is the study of medications.

Did you know?

A good example of polar molecules can be understood when trying to make a cake. If water and oil are required, they will not mix together. If you put them into a measuring cup, the oil will rise to the top while the water remains on the bottom.

Did you know?

More than 20 million Americans cite use of marijuana within the past 30 days, according to the National Survey on Drug Use and Health (NSDUH). More than 8 million admit to using it almost every day.

For a complete list of videos, visit our video library