• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Registry writing  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i am installing my software written using java swing, i want to register it into windows registry. How can this be done ???..Help me....
I need to create a Demo Version where i need to keep track of dates.
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
why do you want to write into the registry? I had never the wish to do this, but I could imagine, that this is impossible, because it is WINDOWS only. The only way I could imaging is the way over JNI, where you can write with C++ into the registry, but there is a more smart way to remember user settings. YOu could use property files. With the class Properties you can easily add key - value pairs and you can save it to a file. With the class ResourceBundle you can read the files. This is easy.
Hope this helps

Rene
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!