In my class I have declare a properties file with static:
private static Properties resource = new Properties();
I instantiate this class when my
applet is loaded (init method) and in turn this class loads the properties file.
So far is this correct?
Now I wish to call myResourceClass.getProperty(key) from other classes in the applet.
If I simply import the ResourceClass can i resuse it without having to instantiate the class?
Is this correct?
Thanks