public void addSpecialButton(String key,Command cmd,int space){
  Button b=new Button(cmd);
  b.putClientProperty("space",new Integer(space));
  specialButtons.put(key,b);
}

public void addSpecialButton ( String key , Command cmd , int space ) { Button b = new Button ( cmd ) ; b . putClientProperty ( "space" , new Integer ( space ) ) ; specialButtons . put ( key , b ) ; }
this method adds a special button to the virtual keyboard
