JFrame: setDefaultLookAndFeelDecorated(boolean b) : JFrame « javax.swing « Java by API
- Java by API
- javax.swing
- JFrame
JFrame: setDefaultLookAndFeelDecorated(boolean b)
import javax.swing.JFrame;
public class MainClass {
public static void main(final String args[]) {
JFrame.setDefaultLookAndFeelDecorated(true);
JFrame frame = new JFrame("Adornment Example");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(300, 100);
frame.setVisible(true);
}
}
Related examples in the same category