public void type(String string){
  for (int i=0; i < string.length(); i++) {
    char c=string.charAt(i);
    type(c);
  }
}

public void type ( String string ) { for ( int i = 0 ; i < string . length ( ) ; i ++ ) { char c = string . charAt ( i ) ; type ( c ) ; } }
simulate keyboard type to type out a string . this types upper case letter by using shift + lower case letter . almost every typeable character on ansi keyboard is supported .
