title: Move multiple objects in bluej
body: <p>I am using BLUEJ to create some basic objects etc.
  I have 4 objects (3 rectangle and one triangle individual) and I am wanting to use "slowMoveHorizontal" method to move these 4 objects about 50px to the right.</p>
  
  <p>So far, everything works BUT the issue is that they do NOT move together simultaneously. They move on a ONE BY ONE basis.</p>
  
  <pre><code>public class PLFlag
  {
      private MyRectangle greenRectangle;
      private MyRectangle whiteRectangle;
      private MyRectangle blackRectangle; 
      private MyRectangle frame;
      private MyRectangle mast; 
      private Triangle redTriangle;
  
  
      /**
       * Constructor for objects of class PLFlag
       */
      public PLFlag()
      {
          // nothing to do... instance variables are automatically set to null
      }
  
      /**
       * Draw this PLFlag.
       */
      public void draw()
      {
          mast = new MyRectangle();
          mast.makeVisible();
          mast.changeSize(400,5);
          mast.changeColor("black");
          mast.moveVertical(-100);
          mast.moveHorizontal(-55);
  
          frame = new MyRectangle();
          frame.changeColor("black");
  
          frame.changeSize(122,180);
          frame.slowMoveHorizontal(-50);
          frame.moveVertical(-100);
          frame.makeVisible();
  
          greenRectangle = new MyRectangle();
          greenRectangle.changeColor("green");
  
          greenRectangle.changeSize(40,179);
          greenRectangle.moveHorizontal(-50);
          greenRectangle.slowMoveVertical(-19);
          greenRectangle.makeVisible();
  
          whiteRectangle = new MyRectangle();
          whiteRectangle.changeColor("white");
  
          whiteRectangle.changeSize(40,179);
          whiteRectangle.moveVertical(-59);
          whiteRectangle.moveHorizontal(-50);     
          whiteRectangle.makeVisible();
  
          redTriangle = new Triangle();
          redTriangle.changeSize(-90,-120);
          redTriangle.changeColor("red");
  
          redTriangle.slowMoveHorizontal(210);
          redTriangle.slowMoveVertical(-130);     
          redTriangle.makeVisible();
      }
  }
  </code></pre>