Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By JosAH
  • 1 Post By Fubarable

Thread: "Random"-Experiment in Bar Chart

  1. #1
    AAnnAA is offline Member
    Join Date
    Dec 2011
    Posts
    1
    Rep Power
    0

    Default "Random"-Experiment in Bar Chart

    ...solved
    Last edited by AAnnAA; 12-03-2011 at 02:16 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,239
    Rep Power
    19

    Default Re: "Random"-Experiment in Bar Chart

    the only problem is that i don't know what to change in the code
    To begin with, get rid of all those silly asterisks and post your code in 'code' tags -- not 'java' tags. Also, post it in the form of a SSCCE (Short, Self Contained, Compilable and Executable) example. Then maybe someone will try it out with a view to help you.

    Oh, and remove all that program logic from the paintComponent(...) override. You have absolutely no control over how often or how many times a painting method is called.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,525
    Blog Entries
    7
    Rep Power
    20

    Default Re: "Random"-Experiment in Bar Chart

    @AAnnAA: please don't edit your original post so that the entire problem statement is gone; that renders this thread useless while Google still can find it; other users might look at this thread only to find out that nothing is here anymore.

    kind regards,

    Jos
    DarrylBurke likes this.
    cenosillicaphobia: the fear for an empty beer glass

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: "Random"-Experiment in Bar Chart

    Quote Originally Posted by AAnnAA View Post
    ...solved
    Please don't delete your posts, as they're not just for you, but for anyone else with the same question in the future who searches the forum. I ask you to edit the above post and replace your original text.
    DarrylBurke likes this.

Similar Threads

  1. Need your opinions on my "Random phone number generator"
    By silverglade in forum New To Java
    Replies: 18
    Last Post: 05-14-2011, 06:02 PM
  2. Replies: 3
    Last Post: 10-12-2010, 04:21 PM
  3. Replies: 1
    Last Post: 01-21-2010, 09:20 AM
  4. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •