Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.21 seconds.

  1. Replies
    6
    Views
    1,999

    Re: NullPointerException problem

    call pa.fillOval(100,100,50,50) after the repaint() call in your run method.

    Also, word of advice, you most likely want to call super.paintComponent(page); as the first thing in your...
  2. Replies
    6
    Views
    1,999

    Re: NullPointerException problem

    I assume it complained about that because CountDown is a static class. Forget my previous comment, I misread your code and thought CountDown was extending TimerTest (it is actually extending...
  3. Replies
    6
    Views
    1,999

    Re: NullPointerException problem

    More likely than not, variables are getting hidden in your example. When you extend another class, the public variables and methods from the parent class are inherited, I believe the variable being...
Results 1 to 3 of 3