tdate= new JTextField();
tdate.setBounds(200,25,134,20);
java.util.Date date = new java.util.Date();
DateFormat df = DateFormat.getDateInstance();
String s = df.format(date);
a = s.split(" ");
a2 = a[1].split(",");
//a[0]=oct , a[1]=27, , a[2]=2009 , a2[0]=27 ,
int mon=0;
if(a[0].equalsIgnoreCase("jan")){
mon=01;
}else if(a[0].equalsIgnoreCase("feb")){
mon=02;
}else if(a[0].equalsIgnoreCase("mar")){
mon=03;
}else if(a[0].equalsIgnoreCase("apr")){
mon=04;
}else if(a[0].equalsIgnoreCase("may")){
mon=05;
}else if(a[0].equalsIgnoreCase("jun")){
mon=06;
}else if(a[0].equalsIgnoreCase("jul")){
mon=07;
}else if(a[0].equalsIgnoreCase("aug")){
mon=08;
}else if(a[0].equalsIgnoreCase("sep")){
mon=09;
}else if(a[0].equalsIgnoreCase("oct")){
mon=10;
}else if(a[0].equalsIgnoreCase("nov")){
mon=11;
}else if(a[0].equalsIgnoreCase("dec")){
mon=12;
}
tdate.setText(a2[0]+"/"+mon+"/"+a[2] );
This gives an error,
integer number too large : 08
integer number too large : 09
what is this error..I can't understand it.
thankx in advance.