Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    3,836

    Re: Traffic Light problems

    Plus many students miscode the statement this way:
    if(boolean = true)
    which makes for a hard bug to find.
  2. Replies
    5
    Views
    3,836

    Re: Traffic Light problems

    Add a println statement to the paintComponent method to be sure it is being called.
    Add a @Override statement just before the paintComponent definition to be sure that the method is overriding...
Results 1 to 2 of 2