frame.setDefaultLookAndFeelDecorated(true);


The above code is accessing a static method from an defined instance. It will still compile, but you will receive a warning. You should listen to your...