Chapter 10. GUI Development

GUI Development

The primary toolkits for developing graphical user interfaces (GUIs) in Jython are Java’s Abstract Windowing Toolkit (AWT) and Swing classes. These toolkits are the logical choice considering that Jython is written in Java, and excels at using Java classes within Python’s syntax. This doesn’t mean that the AWT and Swing are the only choices for implementing GUIs. An increasing number of bindings to other toolkits also allow Java, and thus Jython, to use those toolkits as well. This chapter, however, is limited to AWT and Swing GUIs written with Jython.

This chapter does not cover AWT and Swing basics. Previous Java knowledge ...

Get Jython for Java Programmers 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.