Thank you Isak and Krista!
Both of your solutions work. But now I got another think.
As I told before, I have a "package com.VoglerSoftware.vchat;" command
in my file. After the successful compilation I get now following
message when I try to run the class:
Exception in thread "main" java.lang.NoClassDefFoundError: vchat (wrong
name: com/VoglerSoftware/vchat/vchat)
...
When I remove the package command it works. I have currently my file in
a temporary folder while I am working on it. Do I have to save it at a
special place or do I have to set the CLASSPATH or something like that?
Thank you in advance!
Yours surely
Jens Vogler
Am 26.05.2005 um 21:26 schrieb email@hidden:
Hello to all,
I hope that my following question is not too stupid.
I created a file vchat.java with the class vchat in it and gave it the
package name com.VoglerSoftware.vchat .
Now I want to get the prefs node for it to save my preferences. I
tried Preferences.userNodeForPackage(com.VoglerSoftware.vchat),
Preferences.userNodeForPackage(VoglerSoftware.vchat) and
Preferences.userNodeForPackage(vchat) and got always an error message.
What do I do wrong? Where is my mistake?
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/jvogler%40vogler-
software.com
This email sent to email@hidden
_______________________________________________
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