O'Reilly logo

Swing for Jython: Graphical Jython UI and Scripts Development using Java Swing and WebSphere Application Server by Robert Gibson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 8

image

Selectable Input Components

So far, you have learned how to use simple buttons and a variety of text input fields. In this chapter, you’ll take a look at using some other input components, ones that can be selected. All of the components in this chapter have two possible states, they are either selected or not. I’ll start by describing toggle buttons, proceed to check boxes, and then to radio buttons. I will also discuss how to group these fields in order to make interesting user presentations.

Toggle Buttons

Simple push buttons are used to initiate an event of some kind. Occasionally, it can be useful for a button to have an associated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required