JFrame without frame border, maximum button, minimum button and frame icon

java, swing

Solution

Call `setUndecorated(true)` on your `JFrame`.

This method can only be called while the frame is not displayable (see JavaDoc).

Problem

I would like to create a without frame border, maximum button, minimum button and frame icon.

Original source