I’m creating a JDialog with netbeans as my IDE.
I change the size to how I want it in netbeans, and I can see it updating the prefferredSize, but when I run my application it looks like this:

Is there something else I need to set to set the size? Or at least make it sized properly so I can see the controls… (theres 6 on it)
I guess you might be using the Netbeans GUI builder, possible solutions/suggestions,
dialog.pack();btw, this works for me ,