• Post Reply Bookmark Topic Watch Topic
  • New Topic

Platform Independence  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on a Swing based GUI and developing a form with some text fields.
(i)When i enter some value in any of the fields a listener for value change is fired.
This is working absolutely fine in Windows platform. But when the same code is executed in UNIX environment(Sun Solaris), the listener is not fired for some of the fields on the form.

(ii)Similar kind of problem is occurring with formatting of dates as well. I am using DateFormatter to change my long milliseconds to date. The conversion is happening correctly in Windows environment but in UNIX its increasing the time by one hour.

Can anyone tell me why this is happening and how to correct this?

Thanks in advance
Puneet
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Puneet-

Thanks for adjusting your screen anme, but it's not quite there yet. Specifically, a first name and a last name are required. Please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.

Also, please don't post the same question to multiple forums. It leads to confusion and duplicated efforts.
[ May 11, 2006: Message edited by: Ulf Dittmer ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!