[Chapter 23] WindowPeer

#

| Chapter 23 java.awt.peer Reference |

# WindowPeer

## Name

WindowPeer

##

## Description

`WindowPeer` is an interface that defines the basis for a window.

## Interface Definition

    public abstract interface java.awt.peer.WindowPeer
       extends java.awt.peer.ContainerPeer {
      // Interface Methods
      public abstract void toBack();
      public abstract void toFront();
    }

## Interface Methods

### toBack

#### public abstract void toBack()

Description

  Puts the window's peer in the background of the display.

### toFront

#### public abstract void toFront()

Description

  Brings the window's peer to the foreground of the display.

## See Also

`ContainerPeer`, `DialogPeer`, `Frame` `Peer`

TextFieldPeer |  | Using Properties and Resources