Sorry!
On the other mailing lists I am on, it is usual to send everything to
the list. Therefor I didn't even noticed that I got the answers
directly.
To repeat my question shortly, I had the command "package
com.VoglerSoftware.vchat;" at the beginning of my vchat.java file and
wants to get the preferences node for it.
The two answers I got were:
Isak Styf wrote I should try:
Preferences.userNodeForPackage(getClass());
and Krista C. Miller wrote that I should try:
Preferences.userNodeForPackage( vchat.class );
Well, both of the solutions work, but only if the vchat.class file is
in the right folder (as Isak Styf told me later on).
It should be in following folder:
/Users/jens/ (assuming your user name is jens)
com/
VoglerSoftware/
vchat.class
I compiled my file directly in the shell by calling "java vchat.java",
this way the folder hierarchy will not be created and the classes will
not be saved at the right places....
Okay now everything is solved! Thanks to all who helped me!
Yours surely
Jens Vogler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden