mm

Banners

We will be creating computer screen banners, such as those seen in the opening minutes of the movie Matrix...

Neo awakens in front of his computer, and reads the words as they pop up in banner fashion:  "Wake up, Neo.  The Matrix has you.  Follow the white rabbit."

This banner will start on the left side of the screen and slowly pop out letters to the right.


public class banners1
{
     public static void main(String[ ] args) throws InterruptedException
     {
          String message = "Java";
          for (int k=0; k < message.length( ); k++)
          {
                System.out.print(message.charAt(k)+ " ");

                Thread.sleep (1000 /* millisec */);
          }
     }
}
 

 

divider
Return to Unit Menu |  JavaBitsNotebook.com | MathBits.com | Terms of Use  | JavaMathBits.com