CHAPTER 10

image

Menus and MenuItems

Menus are one of the most common input mechanisms that applications use. When was the last time that you worked with a graphical application that didn’t include some sort of menu structure and hierarchy?

The main reason for creating and using menus in your applications is that it conveys to the users some of the actions that they can perform with the application. So this is all about setting expectations and communicating at least some of the things that the applications can do.

This chapter shows how easily you can add a menu to your applications and how to make your applications react when the user selects a menu ...

Get Swing for Jython: Graphical Jython UI and Scripts Development using Java Swing and WebSphere Application Server 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.