Well, without more details it is difficult to help you solve the problem. What Java date control are you using? Is that something you wrote yourself or did you get it from somewhere else? Maybe there is a bug in the date control? Did you try asking the author of the date control if there's a known bug?
Are you saving the date that the user entered in a database or a file or in some other way? How does your application do that? Did you check if there is a bug in handling the date in your own code?
If it is a Bug in the code, It wil happen in all machine..
That's not necessarily true - sometimes bugs only happen if certain conditions are met, for example if the date and time on the machine on which the software runs is set to a certain timezone.
Without knowing more details I can't say if the problem is in the date control, your own software or the JRE. It is possible that it's in the JRE - recently Sun released patches for certain versions of the JRE because some rules with regard to daylight savings have been changed.