Cannot Comprehend GUI Designer - Rant + Help Request
I've started a project that I'm using IntelliJ for and I just cannot wrap my head around the implementation of the GUI designer. From what I've read, I'm meant to create the bound GUI form (done), create the layout (done), extend the class with a JFrame (done), build it and autogenerate code (done) and then it should just work (didn't!).
When I do preview, it doesn't include any of the buffering regions I've tried to implement to get a nice looking UI. When I launch it, it doesn't launch anything at all.
I'm just at a loss as to how it's possible for this to be this user unfriendly. I don't really understand the point in not including source generation during GUI design time, why IntelliJ doesn't automatically extend JFrame and do that process (especially since it's not possible to use anything other than Swing?) and why this just outright doesn't seem to work.
Is anyone capable of helping with this?

Please sign in to leave a comment.
Use the spacers with the minimum size set if you want to margins.
As for why your code doesn't run, please share the sample project: https://intellij-support.jetbrains.com/hc/articles/206869619.
Or you can use the New | Dialog action which will create a form, a bound class and will generate the code needed to run it from the main method. This way you should be able to figure out what's different in your current code.