public class DrawingClass
{

// constructor = initial behavior
public DrawingClass()
   {
   System.out.println("DrawingClass object created");
   }

public void DrawLineToLength( int HowLong, String CharToPrint )
   {
   int length = 0;
   for( length=1; length<=HowLong; length=length+1)
      {
      System.out.print( CharToPrint );
      } // end for
   System.out.println();   // simply go to next line

   } // end method

} // end class DrawingClass