Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Creating a rainbow code in Java

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Creating a rainbow code in Java

    Using tightly spaced concentric arcs to draw each part of the rainbow
    in a particular color. . . . .


    my methods would include:
    public static void main(String arg[]) {
    JFrame bob = new JFrame();
    bob.add(new DrawRainbow());
    bob.setVisible(true);
    bob.pack();
    }

    ALSO, can anyone open this:

    http://bit.ly/LgS3gc

    i dont have the right program, if someone can copy and paste..or take a screenshot and paste it so I can see what i says,please?


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Creating a rainbow code in Java

    You haven't posted the relevant code (in SSCCE form), nor have you actually specified what your actual problem is. You shouldn't post external links, as many of us are behind firewalls that can't access sites like that.

    Recommended reading: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Dice game code creating help!
    By kodols in forum What's Wrong With My Code?
    Replies: 4
    Last Post: November 22nd, 2011, 07:01 PM
  2. Replies: 5
    Last Post: September 26th, 2011, 12:54 PM
  3. Creating a new class and dont know how to generate a random number math code
    By beatlebaby70 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: September 15th, 2011, 03:03 PM
  4. Creating and implementing class for creating a calendar object
    By kumalh in forum Object Oriented Programming
    Replies: 3
    Last Post: July 29th, 2011, 08:40 AM
  5. Replies: 2
    Last Post: October 29th, 2009, 06:13 PM