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 1

image

Components and Containers

Before you begin your exploration of Swing objects and classes, I need to first explain how I am going to describe these things. For the most part, the objects that you use on your graphical applications are called components. In some places, they may be referred to as widgets. I’ll try to be consistent and stick with components in hope of minimizing confusion.

In this chapter, you get your first exposure to the Swing hierarchy and see how a Jython application can use the Swing classes to create a Graphical User Interface (GUI). You’ll begin with top-level container types and see what makes them special. Then ...

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