Search:

Type: Posts; User: game06

Search: Search took 0.27 seconds.

  1. Replies
    14
    Views
    1,091

    Re: paintComponent error

    got it
  2. Replies
    14
    Views
    1,091

    Re: paintComponent error

    no i am trying to understand why would you want to put override if eclipse or any txt editor tell you the error.
  3. Replies
    14
    Views
    1,091

    Re: paintComponent 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.
  4. Replies
    14
    Views
    1,091

    Re: paintComponent error

    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
  5. Replies
    14
    Views
    1,091

    Re: paintComponent error

    so there is no harm of using @Override before every methods in project?
  6. Replies
    14
    Views
    1,091

    Re: paintComponent error

    i did and it works fine. how about @Override? can you explain which method to use them on?
  7. Replies
    14
    Views
    1,091

    Re: paintComponent error

    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...
  8. Replies
    14
    Views
    1,091

    paintComponent error

    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...
Results 1 to 8 of 8