i want to place child components to a JPanel. But the problem is, that i want to place the components on the left-hand side and on the right-hand side of the parent JPanel. I'am using a BoxLayout and currently i have set the X Alignment of the child components. My problem is showed here: 
