answersLogoWhite

0


Best Answer

public class olimp extends JFrame {

public void paint (Graphics g){

g.setColor(Color.BLUE);

g.drawOval(220, 200, 70, 70);

g.setColor(Color.BLACK);

g.drawOval(290, 200, 70, 70);

g.setColor(Color.RED);

g.drawOval(360, 200, 70, 70);

g.setColor(Color.YELLOW);

g.drawOval(240, 230, 70, 70);

g.setColor(Color.GREEN);

g.drawOval(320, 230, 70, 70);

}

}

public static void main(String[] args) {

// TODO code application logic here

olimp t=new olimp();

t.setSize(600,400);

t.setVisible(true);

}

User Avatar

Wiki User

2013-05-13 01:35:59
This answer is:
User Avatar
Study guides

Mixture

1 card

Class

➡️
See all cards
4.35
23 Reviews

Add your answer:

Earn +20 pts
Q: Write a program by using java to draw the colored International Olympic logo in the middle of the window?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why isn't there a soccer program for middle schools?

there is in international school of london qatar its a school


What are phases in gymnastic program?

In the USA gymnastics program the phases are usually represented by a pyramid. The bottom is compulsory and optional levels 1-10. The middle is elite gymnastics. the top is Olympic and World championships.


When was Denny International Middle School created?

Denny International Middle School was created in 1952.


What do people were in middle school?

Usually uniform, In my school we have to ware a plane colored shirt, with plain colored pants, and shoes. get this NO JEANS. Middle school is a horror film


What is the color middle ring on the top of the Olympic flag?

Black


When was John Glenn Middle School of International Studies created?

John Glenn Middle School of International Studies was created in 2001.


What do the colors on olympic pool lane dividers mean?

Usually the lane line colors are done to see how far the participant has gone such as the "The Fruit Loops" or three different colored lane colors in a row resemble the middle of the pool. - Hope It Helped!!!


What is the motto of Silver Spring International Middle School?

The motto of Silver Spring International Middle School is 'Great Expectations, Great Successes!'.


What is Denny International Middle School's motto?

Denny International Middle School's motto is 'Academic Excellence, for every student, in our Global Village'.


Ancient Rome middle class women colored their hair what color?

blonde


What colored dust was from which state in the dust bowl?

straight through the middle of the u.s.a


What is the African middle finger?

They just have differently colored skin, they're not a different species. Their middle finger is the same as yours.

People also asked