O'Reilly logo

Java 7 New Features Cookbook by Jennifer L. Reese, Richard M. Reese

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 7. Graphical User Interface Improvements

In this chapter, we will cover the following:

  • Mixing heavyweight and lightweight components

  • Managing window types

  • Managing the opacity of a window

  • Creating a varying gradient translucent window

  • Managing the shape of a window

  • Using the new border types in Java 7

  • Handling multiple file selection in the FileDialog class

  • Controlling the print dialog box type

  • Using the new JLayer decorator for a password field

Introduction

The ability to develop applications that have a Graphical User Interface (GUI) interface has been enhanced in Java 7. Some of these are minor improvements and are discussed in this introduction. Others, such as using the javax.swing.JLayer decorator class are more involved and are discussed ...

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