Developer

setHeader(String) method

Set the header text to be included with the menu items.

Syntax
Syntax
public void setHeader (String header)

Parameters

  • header menu page header

Remarks

For example, the header text "Transactions:" will appear in the following menu: 

       Transactions:
       1. 26 Jan 2012 09:16 - USD 10.00 Pay cab
2. 26 Jan 2012 10:10 - USD 3.45  Starbucks
3. 26 Jan 2012 12:25 - USD 20.00 Lunch
4. 26 Jan 2012 13:30 - USD 3.00 Starbucks
9: More
0: Exit