Exercises

  1. Review the javadoc-generated description of the javax.swing.SwingUtilities class. Write a program that demonstrates the use of two of the utilities in that class.

  2. Add the JEditorPane that can render HTML to some code that can make a socket inquiry in the HTTP protocol (chapter 25 shows the code for this). Create a basic web browser in less than 150 lines of code. You can do this in one evening, and spend the rest of the year adding refinements to it.

  3. Review the class java.awt.Robot. It is intended to generate native system input events for test programs. Instead, use it to develop an automatic player for Minesweeper or other favorite game.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.134.133