O'Reilly logo

Graphic Java™ 2, Volume II: Swing, Third Edition by David M. Geary

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 5. Borders, Icons, and Actions

This chapter discusses three Swing utilities: borders, icons, and actions.

Borders are drawn around the edges of a component and come in a number of different varieties: line borders, bevel borders, matte borders, etc. Borders themselves are not components; instead, they draw into the insets of a specified component.

Icons are graphical objects, typically a small image. Like borders, icons draw ...

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