The only explanations are:
- You (your IDE) don't recompile at all after editing the sources.
- You do recompile, but for some reason you are running the old .class file instead.
I suggest you look around in your project's folder for your .class file(s), delete them all and let your IDE build and run again. What happens?
(Actually I suggest you compile and run from command line or Ant instead...)
> The only explanations are:
> - You (your IDE) don't recompile at all after editing
> the sources.
> - You do recompile, but for some reason you are
> running the old .class file instead.
>
Or you are not saving your work or trying to press f5 to refresh your project.