Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Platform independence  RSS feed

 
Puneet Nayyar
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
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello "puneetnayyar_21"-

Welcome to JavaRanch.

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!