I'm adding a few JLabels to a Box like this:
actor1=new JLabel("");
actor2=new JLabel("");
actor3=new JLabel("");
actor4=new JLabel("");
actor5=new JLabel("");
actor6=new JLabel("");
actor7=new JLabel("");
movie1=new JLabel("");
movie2=new JLabel("");
movie3=new JLabel("");
movie4=new JLabel("");
movie5=new JLabel("");
movie6=new JLabel("");
baconPath = Box.createVerticalBox();
baconPath.add(actor1);
baconPath.add(movie1);
baconPath.add(actor2);
baconPath.add(movie2);
baconPath.add(actor3);
baconPath.add(movie3);
baconPath.add(actor4);
baconPath.add(movie4);
baconPath.add(actor5);
baconPath.add(movie5);
baconPath.add(actor6);
baconPath.add(movie6);
baconPath.add(actor7);
When the box displays all the JLabels are aligned to the Right. How can I get them to align to the left?