Question about JFrame using Layered Panels with MigLayout
posted 2 years ago
The question is when I hit the maximize button on the JFrame my panel instantly goes to the top left corner of the JFrame. Is it possible to center the panel inside the JFrame, when the maximize button is pushed? I am familiar with push and grow that MigLayout uses but this isn't exactly what I need. I don't want several textFields to span the screen. Instead I would rather have the panel centered.
This is just a sample project to test out the MigLayout API