Eclipse includes a feature called hot swapping, which is used when you press the debug button to run your application.
While you application is running in that mode, you can make changes to the code, save it, and the new code will be swapped in for the old code (if it does not have any errors).