Why default screen size isn't (0,0) in GridLayout in javax.swing?

68 Views Asked by At

In FlowLayout, default screen size is (0,0) and we have to set it explicitly by:

setSize(200,400)

But in GridLayout, we don't have to call this method, why?

0

There are 0 best solutions below