public JMenu createAlignMenu(){
  JMenu alignSubMenu=new JMenu("Align");
  alignSubMenu.add(actionManager.getAlignHorizontalAction());
  alignSubMenu.add(actionManager.getAlignVerticalAction());
  return alignSubMenu;
}

public JMenu createAlignMenu ( ) { JMenu alignSubMenu = new JMenu ( "Align" ) ; alignSubMenu . add ( actionManager . getAlignHorizontalAction ( ) ) ; alignSubMenu . add ( actionManager . getAlignVerticalAction ( ) ) ; return alignSubMenu ; }
return the align sub menu .
