Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Adella Garcia   on Sep 06 In Java Category.

  
Question Answered By: Adel Fischer   on Sep 06

Here is an answer for your 2nd question  regarding that
ascii conversion

// method to handle key  - down events
public boolean keyDown (Event e, int key)
{

//print out the ascii  - value if a key is
pressed.
System.out.println ("Charakter: " +
(char)key + " Integer Value: " + key);
}

// DON'T FORGET (although it has no meaning
here)
return true;

}

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on how to get input from console Or get search suggestion and latest updates.


Tagged: