for (int i = 0; i < 4; i++) {
                GridLayout gridLayout = new GridLayout(4, 1);
                thisPanel.setLayout(gridLayout);
                Box outerBox = Box.createVerticalBox();
                final Box innerBox = Box.createHorizontalBox();
                final JLabel prefixLabel = new JLabel();
                final JLabel suffixInfoLabel = new JLabel();
                outerBox.add(Box.createHorizontalStrut(10));
                innerBox.add(Box.createHorizontalStrut(10));
                innerBox.add(prefixLabel);
                innerBox.add(Box.createHorizontalStrut(10));
                innerBox.add(suffixInfoLabel);
                innerBox.add(Box.createHorizontalStrut(10));
                thisPanel.add(innerBox);
                thisPanel.add(outerBox);
                
            }
 现在由于suffixInfoLabel长度不同,prefixLabel 的大小被不同程度的扩大了,最后出来的效果变成了右对齐,怎样才能左对齐呢