I am having problem with adding JPanels to a Box layout form. My JFrame class uses the BoxLayout.I created three JPanel objects and each i put JButton into every JPanel.and then i added to them to the JFrame. Only the first button.
Why does this happen?? If i added a glue horizontal glue after the last panel, i wont see any button. Note : I am using the BoxLayout with Y-Axis