Netbeans GUI is not creating properly

47 Views Asked by At

image

I am trying to create Swing GUI in netbeans. But when I run it, it does not work as I designed it. Somehow horizontally & vertically it's a little bit bigger than I designed. shown in image the bottom one is running & the top one is the design.

I have tried manually changing the size of jFrame & jPanel but not helping.

code

I am a total noob and I don't know where the problem is.

0

There are 0 best solutions below