Program to Draw a Concentric Circles with Random Colors

By June 4, 2016 November 9th, 2016 25 Comments

/*** Java Program to Draw a Concentric Circles with Random Colors ***/

Java Source Code
import java.awt.*;
import java.applet.*;
import java.util.*;
public class cir_c extends Applet
public void paint(Graphics g)
Random rg = new Random();
for (int i=1; i<=3; i++)
int r = rg.nextInt(255);
int gr = rg.nextInt(255);
int b = rg.nextInt(255);
Color c = new Color(r,gr,b);
Html Code
<title>Draw circles</title>
<Applet code=”cir_c.class” width=”500″ height=”60″>



Screenshot (306)


  • There are certainly numerous particulars like that to take into consideration. That is a great point to carry up. I supply the ideas above as general inspiration but clearly there are questions like the one you convey up the place an important thing shall be working in trustworthy good faith. I don?t know if finest practices have emerged round things like that, but I am sure that your job is clearly recognized as a good game. Each girls and boys really feel the influence of just a moment抯 pleasure, for the remainder of their lives.

  • yeezy boost says:

    I have to voice my appreciation for your generosity in support of men and women that must have help with in this theme. Your very own commitment to getting the solution all around had become incredibly powerful and have frequently encouraged those like me to arrive at their endeavors. Your insightful recommendations signifies a whole lot a person like me and further more to my peers. Thanks a ton; from all of us.

  • This web site is mostly a walk-by way of for the entire info you wanted about this and didn抰 know who to ask. Glimpse right here, and also you抣l undoubtedly discover it.

  • That is the appropriate weblog for anybody who wants to search out out about this topic. You realize so much its virtually arduous to argue with you (not that I really would need匟aHa). You definitely put a new spin on a subject thats been written about for years. Great stuff, simply nice!

  • yeezy boost says:

    I really wanted to write down a note in order to thank you for all the lovely information you are showing at this website. My time consuming internet search has now been rewarded with useful facts to exchange with my pals. I ‘d repeat that we visitors are unequivocally endowed to be in a really good network with so many marvellous professionals with valuable tricks. I feel rather privileged to have seen your entire web page and look forward to tons of more excellent times reading here. Thanks again for everything.

  • I discovered your weblog web site on google and test a few of your early posts. Proceed to maintain up the excellent operate. I just extra up your RSS feed to my MSN Information Reader. In search of ahead to reading more from you afterward!?

  • There are certainly a whole lot of particulars like that to take into consideration. That may be a great level to convey up. I supply the thoughts above as normal inspiration however clearly there are questions just like the one you carry up the place the most important thing might be working in sincere good faith. I don?t know if best practices have emerged round issues like that, but I’m certain that your job is clearly identified as a fair game. Each boys and girls really feel the impression of just a second抯 pleasure, for the rest of their lives.

  • Your place is valueble for me. Thanks!?

  • yeezy boost says:

    I together with my pals were actually reading through the best tricks from your web site and the sudden I got an awful feeling I had not expressed respect to the website owner for those strategies. My people appeared to be absolutely passionate to read them and already have quite simply been having fun with these things. Appreciation for getting simply accommodating as well as for picking out some fantastic tips most people are really desperate to understand about. Our honest apologies for not expressing gratitude to earlier.

  • Aw, this was a really nice post. In concept I wish to put in writing like this additionally ?taking time and precise effort to make a very good article?however what can I say?I procrastinate alot and by no means seem to get one thing done.

  • I want to show my appreciation to you just for bailing me out of this type of condition. As a result of looking through the online world and seeing recommendations which are not beneficial, I figured my entire life was done. Being alive without the solutions to the problems you have sorted out all through your main posting is a crucial case, as well as ones that might have in a wrong way damaged my entire career if I hadn’t come across your blog post. Your mastery and kindness in dealing with every item was valuable. I don’t know what I would have done if I had not come across such a solution like this. I can also at this time look ahead to my future. Thanks a lot very much for this reliable and sensible help. I won’t hesitate to endorse the sites to anyone who needs guidance about this situation.

  • I am usually to blogging and i actually recognize your content. The article has actually peaks my interest. I am going to bookmark your website and preserve checking for brand new information.

  • Youre so cool! I dont suppose Ive read anything like this before. So good to find any individual with some unique thoughts on this subject. realy thanks for beginning this up. this web site is one thing that is needed on the web, somebody with a little bit originality. helpful job for bringing something new to the web!

  • yeezy boost says:

    I’m also writing to let you understand what a fantastic experience our child enjoyed studying the blog. She figured out a lot of details, which include what it’s like to have an ideal helping nature to have other folks without problems learn about various hard to do matters. You really did more than our desires. I appreciate you for imparting the invaluable, trusted, educational and in addition unique guidance on that topic to Emily.

  • This site is known as a stroll-via for the entire information you needed about this and didn抰 know who to ask. Glimpse here, and you抣l definitely discover it.

  • There’s noticeably a bundle to find out about this. I assume you made certain nice factors in features also.

  • You made some decent factors there. I seemed on the web for the issue and found most people will go along with along with your website.

  • yeezy shoes says:

    I truly wanted to post a note so as to appreciate you for all the precious items you are writing on this website. My long internet search has at the end been rewarded with useful concept to go over with my pals. I would believe that many of us visitors are unquestionably lucky to exist in a fine place with very many awesome professionals with interesting opinions. I feel extremely grateful to have used your webpage and look forward to really more amazing times reading here. Thanks a lot once more for a lot of things.

  • michael kors says:

    I’m often to blogging and i actually appreciate your content. The article has actually peaks my interest. I am going to bookmark your site and keep checking for brand spanking new information.

  • adidas nmd says:

    This website is really a walk-by way of for all of the info you wished about this and didn抰 know who to ask. Glimpse right here, and also you抣l positively discover it.

  • nmd r1 says:

    There are definitely lots of particulars like that to take into consideration. That could be a great level to deliver up. I provide the thoughts above as common inspiration however clearly there are questions just like the one you deliver up where the most important thing will probably be working in honest good faith. I don?t know if greatest practices have emerged around issues like that, however I’m sure that your job is clearly identified as a fair game. Each boys and girls feel the influence of only a moment抯 pleasure, for the rest of their lives.

  • hermes belt says:

    A powerful share, I simply given this onto a colleague who was doing a little bit evaluation on this. And he the truth is bought me breakfast because I discovered it for him.. smile. So let me reword that: Thnx for the deal with! However yeah Thnkx for spending the time to discuss this, I really feel strongly about it and love reading extra on this topic. If doable, as you become experience, would you thoughts updating your weblog with more particulars? It’s highly helpful for me. Massive thumb up for this weblog publish!

  • yeezy boost says:

    Thanks so much for giving everyone an extraordinarily splendid possiblity to read articles and blog posts from this web site. It can be very pleasant and jam-packed with a lot of fun for me personally and my office mates to search your site particularly thrice a week to see the fresh guides you will have. And indeed, I’m at all times impressed considering the breathtaking creative ideas you give. Some 3 tips on this page are undoubtedly the best we have all had.

  • An interesting dialogue is worth comment. I think that it is best to write extra on this matter, it might not be a taboo topic but usually persons are not enough to speak on such topics. To the next. Cheers

  • hermes belt says:

    very nice publish, i actually love this website, keep on it

Leave a Reply to adidas ultra boost Cancel Reply