Agile Javaв„ў: Crafting Code with Test-Driven Development

In the last lesson you learned how to build a basic Swing application, using panels, labels, buttons, text fields, and lists. You also learned how to use Swing's layout managers for enhancing the look of your user interface (UI).

In this chapter, you will learn about:

  • Scroll panes

  • Borders

  • Setting text in the title bar

  • Icons

  • Keyboard support

  • Button mnemonics

  • Required fields

  • Keyboard listeners

  • The Swing Robot class

  • Field edits and document filters

  • Formatted text fields

  • Tables

  • Mouse listeners

  • Cursors

  • SwingUtilities methods invokeAndWait and invokeLater

Категории