package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.DriverStationLCD;

/**
 * This class handles all printing to the Driver Station Screen
 *
 * @author (Mark Macerato, Team 3167)
 * @version (March 2, 2014)
 */
class DriverStation {

    private final DriverStationLCD msg = DriverStationLCD.getInstance();  //The Driver Station
    
    /**
     * Print a message indicating that code is loaded on the robot
     */
    public void printReadyMessage() {  
        
        msg.clear();
        msg.println(DriverStationLCD.Line.kUser1, 1, "The Robot is Ready To Rock and Roll!");
        System.out.println("The Robot is Ready To Rock and Roll!");
        msg.updateLCD();
    }
    
    public void print(String message) {  //print a given message to the driver station
        
        msg.println(DriverStationLCD.Line.kUser1, 1, message);
        
    }
    
    public void update() {
        
        msg.updateLCD();
    }
    
    public void clear() {
        
        msg.clear();
    }
}

@@ -759,16 +759,32 @@
  message
+, int lineNumber
 ) %7B  //p
@@ -849,72 +849,778 @@
     
-msg.println(DriverStationLCD.Line.kUser1, 1, message);%0D%0A        
+int line = lineNumber;%0D%0A        switch(line)%0D%0A            case(1):%0D%0A            msg.println(DriverStationLCD.Line.kUser1, 1, message);%0D%0A            break;%0D%0A        %0D%0A            case(2):%0D%0A            msg.println(DriverStationLCD.Line.kUser1, 2, message);%0D%0A            break;%0D%0A            %0D%0A            case(3):%0D%0A            msg.println(DriverStationLCD.Line.kUser1, 3, message);%0D%0A            break;%0D%0A            %0D%0A            case(4):%0D%0A            msg.println(DriverStationLCD.Line.kUser1, 4, message);%0D%0A            break;%0D%0A            %0D%0A            case(5):%0D%0A            msg.println(DriverStationLCD.Line.kUser1, 5, message);%0D%0A            break;%0D%0A            %0D%0A            case(6):%0D%0A            msg.println(DriverStationLCD.Line.kUser1, 6, message);%0D%0A            break;
 %0D%0A  

Update DriverStation.java