Search:

Type: Posts; User: Norm

Search: Search took 0.26 seconds.

  1. [SOLVED] Re: When I add a 2nd panel the result is all white

    EAST is too small. Try CENTER
  2. [SOLVED] Re: When I add a 2nd panel the result is all white

    I'm not sure what you are saying. What does "get past x value" mean?

    Did you see this: width=10,
    That's not very wide.
  3. [SOLVED] Re: When I add a 2nd panel the result is all white

    Try debugging the code by adding a println() statement in that class's paintComponent() method that prints out the bounds of the component: the getBounds() method returns the value to print. The...
  4. [SOLVED] Re: When I add a 2nd panel the result is all white

    What is the variable name for the "second panel"?
  5. [SOLVED] Re: When I add a 2nd panel the result is all white

    Look at line 45 and find the divisor with the 0 value. Then backtrack in the code to see why the value is 0.

    Is the paintComponent() method called BEFORE the setPopulations() method?
Results 1 to 5 of 5