Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    1,236

    Re: Keyboard Listeners to Control object states

    Not at all. The missing breaks mean that all the cases following the first one that matched would be executed, no matter what case they were testing for. The break prevents that.

    To test for...
  2. Replies
    6
    Views
    1,236

    Re: Keyboard Listeners to Control object states

    Are you talking about a logic problem where the code is not correctly setting the state for when different keys are pressed?

    How have you tried debugging the code to see where it is going wrong? ...
Results 1 to 2 of 2