Problem with aligning components
I want to align the radiobuttons in the bottom of the "east" area. But I can't figure it out, they are still at the top of top area, i want them in the bottom
help please
JPanel east = new JPanel();
east.setLayout(new BoxLayout(east, BoxLayout.PAGE_AXIS));
sort.setAlignmentX(Component.BOTTOM_ALIGNMENT);
east.add(sort);
start.setAlignmentX(Component.BOTTOM_ALIGNMENT);
namn1.setAlignmentX(Component.BOTTOM_ALIGNMENT);
ålder.setAlignmentX(Component.BOTTOM_ALIGNMENT);
tid1.setAlignmentX(Component.BOTTOM_ALIGNMENT);
east.add(start);
east.add(namn1);
east.add(ålder);
east.add(tid1);
add(east, BorderLayout.EAST);