I am trying to align 2 JPanles in a big panel. I am not able to align them properly. I am giving the link to the source code here. If you run the source code, you can see that the New Payment Method Radio Button is at the centre and and not just below the payment options panel. How do i get it there. I am extremely sorry for not able to post the screenshot and also for the long code. THANKS A TON IN ADVANCE.
Share
As an alternative, consider
BoxLayout, shown below.