Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.awt.Frame;

public class Main {
    public static void main() {
        Frame frame = new Frame();
        frame.setUndecorated(true);

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