I have this code :
if(false)
{
this.setUndecorated(true);
this.setExtendedState(this.MAXIMIZED_BOTH);
}
else
{
this.setSize(1024, 768);
this.setLocationRelativeTo(null);
this.setResizable(false);
}
My app runs in a window mode but when i change the false statement to true, it runs in Full screen mode.
I don't get what represent the false statement in If?
Thank you for your time
ifblock. Why you are doing in this way? What you want to achieve? - Braj