After the sequence of editing described above (on the Properties page) along with other UI changes, the following code is produced (without the comments) that relates to the layout for the panel.
- Code: Select all
final JPanel pnlBottom = new JPanel();
// new layout appears here
// original layout appears here
final FlowLayout flowLayout_2 = new FlowLayout();
When the application is run, I see exactly what the code says, a FlowLayout, as it is applied last. However, within the development environment I see the panel laid out as GridBagLayout, which is what matches the properties page.
There appears to be a problem removing code associated with the previous layout.