Linked Questions

1 vote
1 answer
937 views

I'd like to save data (just String that could be stored in a small text file) and load it automatically to the app when it is started. I imagine a text file in the program installed directory but I ...
lipilocid's user avatar
1 vote
1 answer
433 views

I am trying to save the last chosen file (by the user using JFilechooser) so that the next time the program runs, the file will be automatically opened. public void actionPerformed(ActionEvent evt) { ...
Azza's user avatar
  • 23
0 votes
1 answer
59 views

I'm currently creating a password safe type of application and I'm stuck at the login. Currently, the user can create an account and select the place where the data will be saved (via object ...
Telle Miller's user avatar
195 votes
9 answers
161k views

I tried to open the Groovy Shell (groovysh) on Windows 8 and got the following output: java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\...
Dennis Traub's user avatar
  • 51.9k
5 votes
2 answers
6k views

Is there a freely available credential storage framework for Java? I have a desktop application that needs to store the users' credentials to external systems. I'm just wondering if someone already ...
mentics's user avatar
  • 7,079
4 votes
2 answers
2k views

Mac OS X and iOS have a nice little class called NSUserDefaults. It's a singleton that lets you store strings, arrays, and primitives, and you can always implement some methods to add custom objects ...
Alexis King's user avatar
  • 44.1k
-3 votes
1 answer
1k views

So I'm in the process of developing a Java IRC bot as a bit of a side project for a friend of mine, and while development is going well, I'm a little unsure as how to save the current state of certain ...
user3502682's user avatar
2 votes
1 answer
646 views

Background: I'm in the process of writing a game (as an executable jar) and part of my game is a preferences dialog where you can set things like the opponent names and different variables that affect ...
Alex's user avatar
  • 33
0 votes
0 answers
157 views

It's possible in the hibernate.cfg.xml file read data from a .txt configuration file? My intent is that in my JAVAFX application I can leave the server ip address of to be populated by my client. If ...
JamesOrtiz's user avatar
0 votes
1 answer
56 views

So I have cleaned and build it my project as a runnable jar file. There are some scenes that need to get data from files in the project. But for some reason, the file path's are not correct. My ...
C.Ikongo's user avatar
  • 1,856