Set Main Form as Border Layout and keep all components in 1 container which should be BoxLayout and then put these container in main Form with Given Attribute of BorderLayout
And Remove Container from label and insert directly label to main form as such it has been given BorderLayout so add your Label in this Format and all Other components
this.addComponent(BorderLayout.SOUTH,lblversion);