Plus many students miscode the statement this way:
if(boolean = true)
which makes for a hard bug to find.
Type: Posts; User: Norm
Plus many students miscode the statement this way:
if(boolean = true)
which makes for a hard bug to find.
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...