Cover Page by Rogers Cadenhead

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Day 11. Arranging Components on a User Interface

If designing a graphical user interface (GUI) were comparable to painting, currently you could produce only one kind of art: abstract expressionism. You can put components on an interface, but you can’t control where they go.

To arrange the components of a user interface in Java, you must use a set of classes called layout managers.

Today, you learn how to use layout managers to arrange components in an interface. You take advantage of the flexibility of Java’s graphical user interface capabilities, which were designed to be presentable on the many different platforms that support the language.

You also learn how to put several different layout managers to work on the same interface. This approach ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required