I have been trying to write some code (in Java) which is equivalent to this piece of code which is written in C#:
FormWindowState stateOfWindow = FormWindowState.Normal;
(the above piece of code is meant to store the WindowState in the variable stateOfWindow)
Is there some Java code which is equivalent to the above piece of code? (I am using a JFrame)