got it
Type: Posts; User: game06
got it
no i am trying to understand why would you want to put override if eclipse or any txt editor tell you the error.
if u have a error than the eclipse will tell u that u have a error. even u dont have override. so i dont underend why use orride.
but if u mispell class name. wont that give u a error? u end up fixing the class name any way. can i just not use @Override? or is that bad to not use override
so there is no harm of using @Override before every methods in project?
i did and it works fine. how about @Override? can you explain which method to use them on?
thanks got it to working. just one last question. i didnt want to post another theard bc its kind of same code so ill post it there.
problem is the my keyListener is not working. i doesnt even go...
i am painting a rect in player.java and i want to print in main.java class.
in main i am using paintComponent but in player class iam using paint method.
my 1st question is that shoud i use...