End of the Chapter

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page  

Answer:

No. actionPerformed() does not depend on the buttons' texts. This is an advantage of using setActionCommand().

End of the Chapter

That's all the action for this chapter. If one or two topics have not yet clicked, you may wish to review the following.

The next chapter will discuss how to write a complete GUI application, complete with application code. About time.

You have reached the end of the chapter.

go to previous page   go to home page