A question like yours - a simple yes/no, really - is where the API comes in real handy. If you navigate to the
JFrame API, you'll see that JFrame has a method setDefaultLookAndFeelDecorated() with some details about it, although the explanation is a little confusing. What does "provides a hint" mean?
For further details, follow the method link and/or look for other tutorials, as necessary.