Chapter 13. JFC Fundamentals

Terms in This Chapter

  • Abstract Window Toolkit

  • Checkbox

  • Container

  • Data model

  • Dropdown list

  • Event object

  • File path

  • Frame

  • gif/jpeg

  • Java APIs

  • Java Foundation Classes/Swing

  • Layout management

  • Listener

  • Menu (menubar/popup)

  • Mnemonics

  • Model View Controller

  • Packing

  • Panel

  • Polymorphism

  • Radio/Toggle button

  • Single inheritance

  • Superclass

  • Titlebar

  • Toolbar

  • Vector

In this chapter, we're going to cover the construction of Java GUI applications, including listboxes, text fields, menus, buttons, windows, checkboxes, and panels. In previous chapters, we played with Java applications to work with events and Java classes. Events will be the focus here.

There are two ways to build GUIs in Java—Abstract Window Toolkit (AWT) and Java Foundation Classes (JFC)/Swing, ...

Get Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.