Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    2,387

    Re: please correct my programme on swings

    Again, look at that stack trace. It's telling you exactly what line the error is on: Allawt.paint(Allawt.java:106)

    What line is that? Have you used print statements or a debugger to figure out the...
  2. Replies
    7
    Views
    2,387

    Re: please correct my programme on swings

    Look at line 36. Something is null there. Use print statements (or better yet, a debugger) to figure out what is null.

    Hint: Do you mean to set the same variable (b1) 6 different times?
Results 1 to 2 of 2