Hmmm...
It's because month is an int.
You have t make a Stirng named monthName, then say :
case 1 : monthName = "JAN" etc..
Then it should do.
edit : oh and replace if month.equals() by if monthName.equals().
another edit : also, instead of
if { }
if {}
if { },
say
if { }
else if { }
else if { }
You also have to initialize your
String by saying String monthName = ""
LAST EDIT : WORKS FOR ME !