Example usage for java.awt Frame isUndecorated

List of usage examples for java.awt Frame isUndecorated

Introduction

In this page you can find the example usage for java.awt Frame isUndecorated.

Prototype

public boolean isUndecorated() 

Source Link

Document

Indicates whether this frame is undecorated.

Usage

From source file:Main.java

public static void main() {
    Frame frame = new Frame();
    frame.setUndecorated(true);//from  ww w.  j a v a2  s.  c om

    // Get the current decorated state
    boolean undecorated = frame.isUndecorated();
}