Deleta automatically generated exception

Deleta automatically generated code and add preffered size for jPanel